Wordpress Error 500, Blank Page, No Error Logs - FIXED

The dreaded wordpress error 500 or blank page


Let me not waste your time.

I had the error 500 and blank page problem when I migrated a wordpress installation to the live server (production server).

They were the following errors;


  • Error 500 in some instances when the page was refreshed, 
  • Blank Page with no error message and no google chrome console error
  • No Error Logs - No errors were logged or displayed in debug.log, on screen or in the cpanel log even after configuring debugging in the wp-config.php file
I checked for the following that did not work;
  • No file permission errors
  • No database errors
  • No htaccess errors
This is what worked;
I looked online but could not find any solution that worked. But then while reading one article they hinted about a possible server misconfiguration.

So I checked the PHP Version Settings in my cpanel and changed it from 5.4 to 5.6 and refreshed the website and that was it!

Many cpanel provided by webhosts have a php version changer feature, find it, swap your php version and apply. If using wamp on windows/ local host, it can be found by left-clicking the Wamp notification icon and going to the php options, modifying it and restarting your server.


Comments

  1. I stick to this Digital Ocean vs AWS type of subject matter. By means of a good talk, the particular issue will be responded to. Several Cpanel given by webhosts use a phpmodel changer characteristic, believe it is, change the php model and also use. When making use of wamp about windows/ neighborhood sponsor, it could be identified simply by left-clicking the particular Wamp notification star and also planning to the particular php alternatives, adjusting that and also restarting the server.

    ReplyDelete
  2. Usually I never comment on blogs but your article is so informative and shares lots of information regarding
    web design and development. Thus I never stop myself to say something about it.

    ReplyDelete
  3. Nice articel about Wordpress Error 500 , This article help me very well. Thank you. Also please check my article on my site Know All About Htaccess Tutorial. In link article we will learn about htaccess File.

    ReplyDelete
  4. Thanks for give us valuable information If you are Looking for WordPress Support , visit on
    WordPress Support

    ReplyDelete
  5. Very Helpful. Thanks for such Information
    Looking for WordPress Support Visit :
    WordPress Support

    ReplyDelete
  6. Very Helpful. Thanks for such Information
    WordPress Support

    ReplyDelete
  7. I am heartily impressed by your blog and learn more from your article. Thank you so much for sharing with us. I find another blog as like it. If you want to look, visit here WPFIXON , It’s also more informative.

    ReplyDelete

Post a Comment

Popular posts from this blog

The Mysterious Subframe Bushings: When Your Vehicle Clunks And Swerves And You've Done It All With No Resolution.

Dusk To Dawn Photocell Wiring Guide - Automating Your Outdoor Light

Easy Step By Step Guide to Using Google NotebookLM - A Personalized Research Assistant.