• robtbm

    (@robtbm)


    Hi there,

    I am getting this error 502 Bad Gateway when accessing my wp blog.

    I can access https://www.mysite.com but not https://www.mysite.com/blog OR https://www.mysite.com/blog/wp-admin

    I have a replica of the blog (dev) on the same server that is also inaccessible.

    On the same server i have a different wp blog that is showing fine.

    The theme im using is rokophoto-lite with plugins: all-in-one-seo-pack, all-in-one-wp-security-and-firewall and jetpack.

    Jetpack sent an utomated email stating that my blog was down for 40 odd mins yesterday. What could be the problem ? Theme, plugin or something else ?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    try a few basic troubleshooting steps:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches.
    – deactivating ALL plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). When you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application provided by your hosting provider (cPanel…). Also remember to deactivate any plugins in the mu-plugins folder (If you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – If that does not resolve the issue, try switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). When you don’t have access to your admin area, use FTP or SFTP or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    – If that does not resolve the issue, try resetting the plugins foldervia FTP or SFTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.
    – If all the above steps do not resolve the issue, then try MANUAL updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old copies of files & folder on your server before uploading the new ones. Read the Manual Update directions first.
    If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong.

    Thread Starter robtbm

    (@robtbm)

    Hi Tara, thanks for the detailed reply ??

    The site was down 38mins according to the jetpack email notification.

    When this happens again i will try disableing plugins one by one.

    In the meantime would they be any logs anywhere that will detected where the problem came from?

    Thanks

    Moderator t-p

    (@t-p)

    would they be any logs anywhere that will detected where the problem came from?

    – Check the error logs on your server for a more specific error message. If you need help locating them, ask your hosting provider to help you with that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘502 Bad Gateway’ is closed to new replies.