WordPress is one of the most efficient platforms for establishing a phenomenal website or a blog. With WordPress Hosting it is possible for you to create your own website even if you are a newbie or don’t possess any technical knowledge. This is possible as WordPress provides with the best of resources to create the most attractive website that can be managed easily. At times you may encounter some errors while working with WordPress. Here’s information on some basic techniques that can be used for troubleshooting some common errors in WordPress.
Issues Related To The Theme
Some themes comprise of custom functions that can lead to errors at times. While troubleshooting issues, it is important to determine if the error has occurred due to the theme. In order to determine this, you must change your theme to the default theme in your WordPress installation. This could be one of the first steps you take in troubleshooting errors in WordPress. If this error is resolved by reverting the theme to the default, then you know that the issue is with the theme that you are using. In case you have access to the WordPress dashboard this can be achieved by going into the themes option present on the left side menu and activating the default theme. If you do not have WordPress dashboard access, you can easily disable your current theme by FTP as well. Once you are connected via FTP, you will then be navigated to the ‘themes’ folder. Rename your current theme and WordPress will automatically revert to the default theme.
Some plugins may interfere with other plugins and it may cause a problem in the loading of your WordPress website. An easy troubleshooting technique is to disable all of your WordPress plugins. If this resolves the issue, then you can enable each plugin one by one and test your website until you determine the particular plugin that is causing the issue. Problems caused as a result of plugins will prevent you from logging into your dashboard. Even then if you can log in to your dashboard, then you can navigate to the plugins page and continue to disable all your plugins and test all of them as mentioned above. If you do not have access to your WordPress dashboard, you can also use a FTP client to rename your plugins folder, this will disable all your plugins.
Header Information Cannot Be Modified
If you receive an error – ‘Cannot modify header information – headers already sent’; this error message specifies that there is a problem with stray characters, some of which might not be visible in front of the opening tag or after the closing tag of the file. Check the error message in order to find the particular file name that is generating the warning. The file name is usually mentioned at the end of the error message. Now you will have two choices. The easier choice – in case you haven’t made any significant editing changes lately, then you can replace the file causing the error message with your backup copy that is functioning properly. In case a working backup copy is not available, you’ll need to download the file that’s causing the problem. Once you have downloaded it, open this file in a text editing program that doesn’t create hidden characters. Windows Notepad is a great choice for this. Do not use a word processing program, such as Microsoft Word, as it might insert hidden formatting characters in the file. Make sure the first characters are <? and the last characters are ?> in the file. Check if there are any hidden characters at the end of the file, such as spaces, if you see any spaces, move your cursor to the end of the file and delete the spaces.
Changes Not Saved
Sometimes there might be an easy fix to this problem. You might have to peruse your web browser to reload the page from the server. Copies of cached web pages are stored in the web browser, or a memory area, on your computer. With frequent visits to that web page, the web browser loads the page from cache, that enables faster loading speed. If your web browser is loading a stored copy of the page from cache, it might not be showing your latest changes because it’s an old copy. In order to load the web page from the server through the web browser: In Firefox, hold down Ctrl and Shift, and then press the R key. In the Internet Explorer, hold down the Shift key while clicking the Refresh button. Depending on your browser’s setup, though, these key shortcuts might not work.
Deleting Old Posts Or Pages
Most of the WordPress users face this problem. Although it has been difficult to narrow down on the specific cause of this issue because of the sporadic nature of the problem; it appears that certain plugins interfere with the deletion option. In order to fix this problem you may try a workaround solution: Just deactivate all of your plugins, make the necessary deletions, and then reactivate your plugins.
404 File Not Found Error
When you come across a file not found error, you will see see a full path to the missing file. You can retrace the path via FTP and see if the file exists. Remember, if you are using a Linux server, 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 indexes or similar kind of files.
Memory Exhausted Errors
This error means that you have not allocated enough memory for php to run the desired actions. 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 issue can be solved by adjusting the memory allocation in your php.ini file. You should have a php.ini file in your default folder where you have installed WordPress. If you do not find the file, 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 have to open this file 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 have to change it to something like this:
memory_limit = 16M
NOTE: you may need to keep adjusting this number in order to determine how much memory you need to allocate. If 16M does not work, you may increase it to 32M.