After Wordpress update, links stop working when clicked on

I’ve launched a staging woo-commerce website on my localhost (XAMPP), which is running well on Wordpress 5.5.6. But whenever I update WP core to newer versions, internal links (incl. posts, products, etc.) suddenly stop opening when clicked on, and I’m left no choice but right-clicking and opening them in new tab. I’ve tried any possible way to debug the issue, but to no avail: from creating a fresh .htaccess file to deactivating plugins, deactivating the Block Editor, installing “Enable jQuery Migrate Helper” plugin, etc. So I don’t know how to get rid of this frustrating, weird problem. Any suggestions are welcome.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum