502 error on pulled website

What issue or error are you experiencing?

502 Bad Gateway


nginx/1.16.0

I was trying to pull a website, but only on this project I got a 502 error.

Already checked in the php.ini.hbs and edit the other files

I also disconnect and reconnect my Flywheel account and checked this on another wifi.

Other websites works just fine on Local WP


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


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

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


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.

There could be a conflict within the site. Something else you could try is using the Open Shell function in Local to use WP-CLI and deactivate plugins, or swap out the theme.

For starters, you could run something like wp plugin deactivate --all

Done! `Succesful deactivated them but still that 502 error.

After you deactivated the plugins did you try Stopping and Starting the site? That might help it to recompile and refresh.

Next though you could try swapping out your theme. If you have any default WordPress themes installed on the site you could also activate one of them from CLI.