Solved

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

Posted on 2016-09-18
3
261 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 500 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Did you use a default hosting installation of wordpress with the intention of it being your actual site?  Maybe you’ve installed it as a Blog to your current site and recently converted it to be the main site and do away with the old .htm pages.  An…
If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

729 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