Common WordPress Troubleshooting Techniques
WordPress is one of the many great tools InMotion Hosting offers to their customers to build dynamically driven websites. At times, you may find yourself having to troubleshoot errors in your WordPress website. Here we'll discuss some basic techniques when troubleshooting some common errors in WordPress.
Turn on WordPress Debugging
With debugging turned on, it is much easier to locate any errors within your WordPress site as well as any plugins and themes that may be causing errors. This is covered in our full guide:
Turning on WordPress debugging
Disabling your WordPress Plugins
Some plugins may interfere with other plugins and cause your WordPress site not to load correctly. A common troubleshooting technique is to disable all of your WordPress plugins. If this resolves the issue, then you'll want to enable each plugin one by one and test your site until you determine which plugin is causing the issue.
Some problems caused by plugins will prevent you from logging into your dashboard. If you still can log into your dashboard, then navigate to your plugins page and continue to disable all your plugins and test as described above. If you do not have access to your WordPress dashboard, however, you can use an FTP client such as FileZilla to rename your plugins folder (which will disable all of your plugins). Click here for more information on disabling your WordPress plugins.
Disabling your Current Theme and reverting to the Default
Some themes include custom functions that, at times can cause errors. When troubleshooting issues, it is important to determine if the error is related to a theme. To do this, you should change your theme to the default theme in your WordPress installation. This should be one of the first steps you take in troubleshooting errors in WordPress. If your error is resolved by reverting the theme to the default, then you know it's an issue with your chosen theme.
If you have access to the WordPress dashboard this is achieved by going into the themes option on the left side menu pane and activating the default theme. If you do not have WordPress dashboard access, and in some cases with errors this may be true, you can disable your theme by FTP as well. Once you are connected via FTP with an FTP client such as FileZilla, you then will navigate to your themes folder. Rename your current theme and WordPress will automatically revert to the default theme.
Other Common Errors
404 File not found errors: When you see a file not found error, you will see see a full path to the file that is missing. Retrace the path via FTP and see if the file exists. Remember, you are on a linux server so file names are case sensitive. Test.php is not the same file as test.php. 404 errors are commonly associated with permalinks or the coding in the indes or search files as well.
Memory Exhausted errors: This is an error that typically mean you have not allocated enough memory for php to run the desired action. The error message will look similar to this:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /home2/user1/public_html/fantasy/wp-includes/class-simplepie.php on line 5353
This can be corrected by adjusting your memory allocation in your php.ini file. You should have a php.ini file in your default folder where you installed WordPress. If you do not, you can find the file in your public_html folder and copy to the same location as WordPress. Once the file is in it's correct place, you will need to open it up in an editor. You can do this in File Manager in cPanel. Find the line of code that says:
memory_limit = 8M
Now you will need to change it to something like this:
memory_limit = 16M
NOTE: you may need to keep adjusting this number to find out how much memory you need to allocate. If 16M does not work increase the number to 32M.
If you need help updating your php.ini please read the article on, updating your php settings.
Database Corruption Issues: At times, it is possible that your WordPress database has become corrupt. You can find out more information on checking and fixing corrupt tables in a database by reviewing our article.
WordPress showing a blank page: If your WordPress website is showing a blank page, it's typically caused by a php error. If php is configured to hide this error, you'll get a blank page displaying on your website. Please read our article on how to handle blank pages in WordPress
Support Center Login
Social Media Login
2015-07-30 8:43 am
I have an issue in disabling the current theme to get back to the default one. any help?
2015-07-30 11:31 am
Thank you for contacting us. As described above, you can disable your theme by FTP. Once you are connected via FTP with an FTP client such as FileZilla, you then will navigate to your themes folder. Rename your current theme and WordPress will automatically revert to the default theme.
Have you tried this?
Please explain the symptoms you are having, when you try to change themes.