WordPress HTTP Error 500 Internal Server Error

After playing around with some plugins for WordPress suddenly came up with the following error when trying to login. “Server error. The website encountered an error while retrieving website. It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error). An unexpected condition was encounted while the server was attempting to fulfill the request.”

It was clear it had something to do with the plugin as that was the last thing that had been configured. But since it wasn’t possible to login into administration the plugins couldn’t be disabled. So how to deactivate all plugins when not able to access the administrative menus. If you have phpMyAdmin you can disabled the plugins by locating table wp_option and look for option_name column and find the active_plugins and change the option_value field to: a:0:{}

Second option is to reset the plugin via FTP. Connect to your ftp and navigate to wp-contents folder. Rename “plugins” folder to “plugins.inactive”. Now you should be able to log into the administration again via /wp-admin

Third option is to look at the memory limit. If this is set to low e.g. 16Mb only a handful plugins is enough to overload and get you the server error. Set it to 64Mb and you should be able to login and administrate your site.

Posted in ErrorFix Tagged with: , , , , , , , ,