Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2016-09-18
3
Medium Priority
?
443 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

609 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