We have a Windows Troubleshooting guide below that goes over some common items worth checking. For example, make sure you’re running Local as an admin user, that you don’t have any security blockers, and that Local has access to update your Hosts file.
You might also check through our performance guide here in case you’re running into anything like timeout or resource issues.
I read both of the guides and I did everything they say. It doesn’t work but I realize something. Actually I realized it before. I have 2 PC and other one is on Windows 10. And this one is Windows 11.
I installed on Windows 10 first. It works well and always ask me permissions. But this Windows 11 PC doesn’t. However my host folder is not read only. And windows defender is OK. I don’t have anti-viruses but windows.
So, I still don’t know why but I can’t get any permission pop-up.
Actually I started new. This happen before. My PC user account had special character as “ı”. And local wp even didn’t start. I change it and there is no problem about special characters. But this permissions problem happens from the begining.
I adjust windows user account control settings to max. But still, whenever I change the site domain it only send me this notification:
Btw I do almost everything well. It just happened like this. When I published the Wordpress pages or saved the changes I made, it was giving a JSON error. But the change I made was actually happening. It was just showing up as an error. Since I thought this was a glitch in the Local WP application, I wrote a code in function.php to change the Wordpress page editor to the old standard version and I did not get this error anymore.
**SOLUTION: There was a comment line in function.php as before <?php line. I moved the comment line under the <?php as //blabla. Sorry it was complately my fault **
Detailed: I don’t have any plugin. actually my main purpose is creating a plugin-free theme.
Now. I deleted my local site. And i exported my theme before that. I created same domain again. I copied my theme files again and activated it. It does again. I can’t see my medias. When i switch theme to twenty-five it works well.
While I type these reply, i was trying whatever i think.
I deleted half of the theme files until it works well. So it solved when i deleted function.php. I was thinking about comment line was html. I knew something is wrong with that. Actually i am not a webdesigner. So I’m sorry to bother you and take up your time.