?
Solved

Why get a constant 502 Bad Gateway error on Wordpress, even after disabling plugins & theme?

Posted on 2016-09-18
3
Medium Priority
?
356 Views
Last Modified: 2016-09-22
Yesterday I was setting up a Wordpress site, when I entered the Wordpress dashboard, it was appearing constantly 502 Bad Gateway errors. Especially when editing/creating pages. I already disabled plugins & theme, but it doesn't work.
0
Comment
Question by:Stevensen Lewis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Expert Comment

by:chilternPC
ID: 41803614
the 502 error is due to the server stopping the request because of a timeout
so ...
you have the latest version of WordPress installed and all files uploaded correctly?

it might be the database connection

it could be your internet connection or browser   - try rebooting the router or using a different location
1
 
LVL 2

Accepted Solution

by:
Dillyn Barber earned 2000 total points
ID: 41803885
Make sure the WordPress site doesn't have any local links like http://Users/username/Desktop/file.jpg or file://Users/username/Desktop/file.jpg sometimes it can throw that error on Nginx

Are you using a reverse proxy or php-fpm? If so, you’ll need to take a look at your PHP error logs or your Nginx/Apache error logs and find out the exact error.

Also, check out these:
https://www.scalescale.com/tips/nginx/502-bad-gateway-error-using-nginx/ 
https://wildlyinaccurate.com/solving-502-bad-gateway-with-nginx-php-fpm/
1
 

Author Closing Comment

by:Stevensen Lewis
ID: 41810385
Thanks for your answer! I checked the PHP error logs, and finally fixed it. :)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question