Common WordPress Troubleshooting Techniques
In this tutorial:
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 index or search files as well. Resetting WordPress Permalinks often will rebuild the links and correct the problem.
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.
2016-03-09 6:21 am
In wordpress dashboard when I click on Pages, I get this message "Oops! That page can’t be found.
It looks like nothing was found at this location. Maybe try one of the links below or a search?"
Please help me to fix this issue. Im using wordpress 4.4.2 and zerif lite theme.
Please click in this link to see the problem. http://prnt.sc/ad0ag5
My website is http://www.fortunapet.com
2016-03-09 8:42 pm
Sorry for the problem with the WordPress site. Even with the screenshot, it's difficult to tell what you have done in order to generate that error page. Bascially, if it's not there, then that means a page is missing. The pages/posts are kept in the database. If someone has not deleted it then there's a possibility that there's a problem with loading the data from the database. Make sure to try repairing the database. Otherwise, you should use a backup to recover. It doesn't appear like you're an InMotion customer so we can't investigate it directly, but if you want for us to continue reviewing the issue, please give us the steps you're taking to duplicate the error.
If you have any further questions, please let us know.
2017-01-14 7:32 am
Hello, excuse me, I'm still new to Wordpress and I'm currently facing a problem with my premium version. All of the icon images on my dashboard and theme don't show up properly, as you can see here, http://bacakabarbaru.com/. Any idea how to fix this issue?... Thanks a bunch mate.
2017-01-15 4:28 pm
The images/ icons are loading the theme has set those accordingly. Look here: http://bacakabarbaru.com/wp-content/themes/hueman/assets/front/img/thumb-medium-empty.png
You will need to follow the themes instructions on swapping those out.