Solved

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

Posted on 2016-09-18
3
159 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
3 Comments
 
LVL 28

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
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…

856 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