I use WordPress 4.9.1 with the theme Newsmag. I tried to install some additional plugins, like bbPress and Media Library Folders. These are popular and common plugins, but after installation, I got error HTTP 500 on administration panel. I have to disable all the installed plugins in SQL database to recover site. There are several plugins, that are installed and enabled without this error, just like Akeeba Backup.
1 Answer
The simplest way to disable a plugin when there is no access to admin, is renaming of plugin folder.
Connect via ftp by Filezilla, for example. Find plugin folder and put dot before its folder name. This should look like
wp-content/plugins/.bbpress/
Such folder names are ignored by WordPress. Update the admin page and you will see that bbpress is removed from the plugin list.
-
I see, I know it, but not sure why I got
HTTP 500
when I install plugins. Jan 12, 2018 at 8:40 -
Your question says "I have to disable all the installed plugins in SQL database to recover site", and it does not contain the word "why". So I have answered to your question as it was formulated. Jan 12, 2018 at 9:15
-
500 - a general php error in plugin. It can be caused by a million of reasons. Some kind of incompatibility. Every case is different. Jan 12, 2018 at 9:16
-
-
The best way is to use debugger like xDebug+phpStorm. Or, you can try to install WP PHP Console plugin wordpress.org/plugins/wp-php-console and look at errors reported in browser console. You can also use standard WP debugging tools codex.wordpress.org/Debugging_in_WordPress or check php logs on server, if you have access to. Jan 12, 2018 at 10:15
wp-config.php
to setWP_DEBUG
to true and enable the plugins one by one to discover the culprit of the 500 error.