I’ve been running local (latest version - 5.6.8+4514) and it was working well previously, though pages load slower (front and backend) than they do on the web. Just a few days ago, however, I found that I could neither create a fresh install of WP nor Import a site because this error comes up before an installation can complete. Further, the error comes up even when starting an existing installation, though I was able to at least view/edit them in Chrome after closing the error message. I do remember that Windows 10 updated recently as well - I am now running 1909, so maybe this is a factor?
Anyway, I’ve read a number of posts here on the subject and tried recommended remedies including adding an exception for local in Bit Defender, making sure read-only is unchecked for the hosts file, replacing the hosts following Microsoft’s guide, uninstalling Bit Defender, turning on UAC, uninstalling/reinstalling local, and then doing a clean install, though the instructions are dated. Unfortunately, things have only gotten worse. I can neither view existing sites now nor install new ones, and I can’t seem to start fresh either.
This was very nearly disastrous as I have lost access to several months of work on this machine. But, thankfully I thought to export my work before attempting any fixes, and local still works on my laptop (though I worry not for long). From there I was able to import and then back up with duplicator.
So having averted disaster, and being grateful for that, I’m still left with the problem of not being able use local on my main machine. And admittedly, having seen several other posts on this topic remain unsolved, I’m concerned that posting might be fruitless. Nevertheless, having invested a good deal of time in getting the hang of local so far, I figured I should at least try this before moving on to something else. Any effort to help is much appreciated. Thank you.