If you are getting errors trying to view WordPress pages, you may have a malfunctioning plugin. Sometimes you are unable to reliably access the WordPress Dashboard because of errors. If you are unable to use the Dashboard, there is a way to disable or enable plugins through the database.
Find The Database Name
- In cPanel, locate the "Files" section, and select "File Manager".
- Select "Web Root (public_html)" and check the box labeled "Show Hidden Files (dotfiles)".
- Select "Go".
- Find the wp-config.php file. It will be located in the directory that you have installed WordPress to.
- Right click wp-config.php and choose "Code Edit".
- In the popup window, select "Edit".
- Find the database name; it will look like this. It is the bolded portion.
define('DB_NAME', 'domain_wrdp1')
Disable Plugins
- In cPanel, select "phpMyAdmin".
- Find the database in the list on the left side of the screen. Select it.
- Click "wp_options".
- Find the "option_name" column. There is a line called "active_plugins". Click "Edit" next to that line. Find and copy the section of text that looks like this, then delete it:
a:5:{i:0;s:35:"add-from-server/add-from-
server.php";i:1;s:25:"age-verify/age-
verify.php";i:2;s:19:"jetpack/jetpack.php";i:4;s:69:"simple-
full-screen-background-image/simple-full-screen-
background.php";i:6;s:27:"wp-super-cache/wp-cache.php";}
- Save the copied text locally.
- Click "Go".
You have now disabled the plugins. You should now be able to log in to the WordPress Dashboard without problems. To determine which specific plugin was causing the issue, re-add each plugin one at a time from your Dashboard, refreshing your blog in your browser after each one is added. When you get an error, the last plugin you added is the one causing it.