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.
- 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:
- 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.