Unable to start Wordpress site or create new ones

What issue or error are you experiencing?

I am unable to start an existing WordPress site, nor can I create one.

What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

When I initially load LocalWP, I go to my existing site to get it started. All of the information comes up, except for WordPress. I get a continuous “loading” sequence.

I’ve tried creating a new WordPress site, and the same thing happens.

LocalWP let’s me start the site, and tells me that the site is actually running, but WordPress still appears to be trying to load.

When I try to go to the site, I get a “502 Request Error”.

In both cases, I used the preferred environment on installation (Nginx, PHP 8.1.22, MySQL 8.0.16)


System Details

  • Local Version:

Version 7.2.0+6425

  • Operating System (OS) and OS version:

Windows 11, 22H2, build 22621.2215


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

local-logs.zip (91.3 KB)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @rottinger

If you change your Router Mode to Localhost does it work? Preferences>Advanced>Router Mode

Do you have any antivirus, security, or firewall applications that could be blocking Local?

More details about troubleshooting this here: Router Mode

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

Nick,

Thank you for your reply.

I’ve turned off Windows Security/Defender and MalwareBytes (although I’ve had both on in the past, with no recent updates to either). I also changed the router mode to local. Those steps didn’t resolve the problem.

In my case, it looks like the WordPress version never resolves. And even when I start the site, the WordPress version still never resolves. When I try to go to the site, either from the “Open Site” button or the “WP Admin” button, with the router set to “localhost”, I receive an “Unable to connect” error. When I switch back to “site domains”, I get a “502 request error”.

In all cases, the WordPress version never resolves.

Do you have any issues with your internet speeds/connection in general? Do you use a VPN or hotspot? Are you on an office network? Sometimes an office network might be using a Firewall that is blocking connections.

I don’t have any problems with network speed or connections in general. Typically, if there’s a problem, everything is down. I don’t use a VPN or hotspot, nor am I on an office network. I haven’t made any changes in my firewall.

I use the development environment every day as I update our production site every day. I’m working on a revamp, so I keep the content current. I had no problems posting to the development site the day before, now nothing.

I gave it a try again to see if I could create another WordPress site, but no joy. Everything seems to come up, and I can start the site in Local, but the WordPress Version will never resolve. When Local tells me the site is running, I get the 502 error whether I launch from Local or if I just type in the address in my browser. Local tells me the site is trusted, so it’s being registered in my hosts file; checking the file verifies that. It just looks like the problem is that WordPress doesn’t completely install, or there’s something missing. I could see that as a problem with my main development site (a file/folder got deleted or something like that), but it doesn’t explain the same problem when creating a new site.

The fact that the WordPress version will never resolve usually means something is blocking Local from connecting to the WordPress API. Are you able to navigate to WordPress.org in your browser?

Normally if this was an issue switching to Localhost would get around it, but it seems like something else is still interfering.

Are you able to test using a different connection or with a VPN to see if anything changes?

Otherwise if you wanted to you could try a full uninstall and reinstall of Local (after backing up your sites first).

The steps would look like this:

  • Export any sites that you have on Local and save them to a folder somewhere on your computer.

  • Fully uninstall Local from your computer.

  • Install the latest version of Local on this link.

  • Once installed, please restart the computer.

  • When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).

  • Check and see if the issue still persists. If so, please provide us with an updated log. Retrieving Local’s Log File

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.