The blog is back people

It’s been throwing 500 errors for I don’t know how long. Years?

I had to do some hacks to get it back. Since the page wouldn’t even load I had to go dig up the ssh info from my hosting provider. They also provide a phpMyAdmin portal.

First disable active plugins:

UPDATE wp_options SET option_value = 'a:0:{}' where option_name = 'active_plugin'

Then ssh into the box and update word press from the command line:

wp core update

Now the site loads again!

You can also modify wp-config.php to turn on logging:

define( 'WP_DEBUG', true ); // this line was already in the file with value false

define( 'WP_DEBUG_LOG', true ); // added this line

This will put error messages to the browser and to wp-content/debug.log . Just make sure to change those afterwards, you don’t want to leave it on and leak that information.

Leave a Reply

Your email address will not be published. Required fields are marked *