• 11 Dec

    9 Common WordPress Problems and How to Solve Them

    WordPress

    Share




    WordPress is a great tool for creating blogs. It works well most of the time, it offers automatic updates, and it offers the numerous benefits of open source software … including the fact that it’s free to use.

    WordPress certainly isn’t perfect, though. (Then again, what software package is perfect?) Fortunately, most WordPress problems can be solved with a few tweaks.

    Here are nine common WordPress problems and solutions.

    1. I’m receiving a “Cannot modify header information – headers already sent” warning

    This error message typically specifies a problem with stray characters, some of which are not visible, in front of the opening tag or after the closing tag of the file. Check the error message to find the particular file name that’s generating the warning. (The file name usually is at the end of the error message.)

    To fix this problem, you have two choices. The easier choice, if you haven’t made any significant editing changes lately, would be to replace the file that’s causing the error message with your backup copy that was working correctly.

    If a working backup copy isn’t available, you’ll need to download the file that’s causing the problem. Open the file in a text editing program that doesn’t create hidden characters; Windows Notepad is a great choice. Do not use a word processing program, such as Microsoft Word, because it sometimes will insert hidden formatting characters in the file. Make sure the first characters are <? and the last characters are ?> in the file. Check for any hidden characters at the end of the file, such as spaces, by moving your cursor to the end of the file and deleting any spaces.

    2. The backups of my WordPress database files are way too large

    Making regular backups of your database is an extremely important process, one that most people don’t perform often enough. For additional peace of mind, it’s probably best to keep three or four copies of your database backup file, just in case your primary backup file is corrupted. That can be difficult if your backup files occupy a lot of storage space, however.

    Most of the time, a large database backup file is caused by certain plugins storing a significant amount of data. Plugins that block spam or that collect statistics on your blog can generate a large amount of data that really isn’t necessary to store in your database backup file.

    If you’re using a common backup tool, you should be able to select the specific tables included in the database backup file. Just include the tables that are important to your blog’s data in your backup file; leave out tables that generate interesting data, but that don’t contain the core information for your blog.

    Image files can add require a large amount of storage space, too. If you have some image files that you’re no longer using with your blog that are being backed up with your database, try deleting the old image files.

    3. WordPress doesn’t appear to be saving my changes

    Sometimes, this problem carries an easy fix: Just force your Web browser to reload the page from the server. The Web browser stores copies of Web pages in cache, or a memory area, on your computer. Upon subsequent visits to that Web page, the Web browser loads the page from cache, which allows it to load faster.

    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. To force the Web browser to load the page from the server: In Firefox, hold down Ctrl and Shift, and then press the R key. In 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.

    You also can try visiting a proxy site, such as guardster.com, and load your page from there. Because it’s a proxy site, it won’t use cache and will always load the latest version.

    4. WordPress STILL doesn’t appear to be saving my changes

    Sorry to deliver bad news, but, most of the time, if your browser isn’t causing the problem, user mistakes are to blame. Rarely, you might experience this problem if you’ve downloaded a plugin for WordPress that changes the way your browser cache behaves. If you suspect a plugin problem, you’ll have to check the documentation for that particular plugin, looking in particular for how it clears the browser cache.

    Otherwise, common problems that might cause WordPress to appear as though it isn’t loading or saving your changes include making sure that you’ve uploaded the latest version of WordPress and you haven’t make a mistake in the actual coding. You might have to go through your coding line by line to look for mistakes.

    5. I cannot delete old posts or pages, I just receive an error message

    Users have reported this problem sporadically on message boards over the past several months. Although narrowing down the specific cause of the problem has been difficult — in part because of the sporadic nature of the problem — it appears that certain plugins interfere with the deletion option.

    Until more information is discovered about which collection of plugins are causing the deletion problem, you can try a workaround solution: Just deactivate all of your plugins, make the necessary deletions, and then reactivate your plugins.

    6. My version of WordPress doesn’t seem to allow workable permalinks

    Permalink problems can be especially difficult to solve. Here are a few common potential issues related to permalinks, but, if these tips don’t fix your particular problem, you may need to check WordPress forums for information on your specific problem.

    If you recently installed or upgraded WordPress, the software might not have correctly created the .htaccess file, which is key to creating permalinks. (You might even see an error message during WordPress installation related to the .htaccess file.) Such problems can occur because some hosts do not allow WordPress or you to access or edit the .htaccess file, which can cause permalink errors. Most of the time, you can check your Control Panel to see whether your host allows .htaccess file editing.

    If you suspect this problem, contact your host to see what types of permissions you need to set on your server to allow WordPress to gain access to the .htaccess file.

    7. I can’t seem to block spam from my comments section

    WordPress has a few good automated tools for limiting the amount of spam that appears in comments. Blocking spam permanently, however, requires stringent moderation on your part.

    To control the WordPress features related to managing comments, click Administration and Settings Panel. You can control all aspects of discussions here. To help in limiting spam, try these tips.

    Click the A Comment Is Held For Moderation box if you want to receive an e-mail each time a comment is made, thereby giving you the option of accepting or denying the comment. Of course, if you receive dozens of comments each day, this option will generate an overwhelming number of e-mail messages.

    Click the Comment Author Must Fill Out Name And E-mail box, which forces anyone making a comment to provide the necessary information. Some spammers might be deterred by this extra step.

    Because spammers sometimes include multiple hyperlinks in their messages, you can tell WordPress to hold comments that have a certain number of links through the Content Moderation section. In the same section, you also can enter keywords that you think you’ll see in spam comments. WordPress will flag any comment that contains these words.

    8. A WordPress plugin that has always worked OK in the past suddenly isn’t working

    The first potential fix of a plugin problem is the easiest: Make sure that you’ve downloaded the latest version of the plugin. New releases of plugins add features, but they also often fix bugs, including the one you might be having. To check for new versions of your plugins, just click Administration and Plugin. WordPress should list all of your plugins, along with notifications of any that have upgrades available. Click Upgrade Automatically, and you’ll have the latest version. (In fact, checking for the latest versions of all of your plugins is something you probably should do on a regular basis, perhaps two to four times per year.)

    If that doesn’t work, you have a few other options. You can try reinstalling the plugin from scratch; perhaps the plugin software became corrupted. Try to remember if you made any other software changes or installed other plugins between the time the problematic plugin was working correctly and the time that it failed. You could have an incompatibility issue between the malfunctioning plugin and the software changes you made. See if the author of the plugin has a blog where you can report your problem. It’s possible others are having the same issue, and the plugin author will create a fix or knows a workaround.

    Occasionally, if you upgrade your version of WordPress, you could end up with multiple plugins that stop working correctly. You’ll just have to deactivate the malfunctioning plugins until the author comes up with a new release that will be compatible with the new version of WordPress.

    9. I’m trying to delete a WordPress plugin I no longer use, but it’s not working and it’s causing errors on my site

    Before uninstalling a plugin, it’s a good idea to visit the plugin author’s site, just to see whether the author has created any specific instructions for uninstalling the plugin. If you remove a plugin incorrectly, it could cause multiple errors.

    You’ll also want to make sure you didn’t make any changes to your template files based on the plugin. Some plugins require such changes upon installation. If you can’t remember whether you made such changes, read through the installation instructions for the plugin and see whether the instructions called for such changes to your template.

    Once you’ve checked for any problems related to deleting the plugin, take one final step before deleting it: Make sure you open the Plugin Administration screen and deactivate the plugin before deleting it. Trying to delete an active plugin could cause error messages.

    Finally, we offer two important tips related to troubleshooting:

    At some point, you may encounter a problem that cannot be fixed or that corrupts your data beyond repair. There’s only one solution: Reloading your data from your backup source. Backup your database on a regular basis. Better safe than sorry.

    Second, make sure you always have downloaded the latest version of WordPress. Version updates will fix various bugs and security problems as users report them. Some new releases might seem minor, but that minor tweak might be the one that fixes your perplexing problem.

    Have you encountered these problems?  Have these solutions worked for you?  Please share your experiences with us!


  • 19 Comments »

     
    #1
    Vince
    December 12th, 2008 at 3:15 am

    Ultimate fix #1: Learn PHP

     
     
    #2
    Alison
    December 12th, 2008 at 5:01 pm

    I agree with Vince.

     
     
    #3
    Dietmar
    December 15th, 2008 at 9:18 am

    I also agree with Vince, before you can fix something you should know where, why, and how to fix it. Maybe this (really great) article doesn’t really aim at people who cannot handle php…

     
     
    #4
    mkjones
    December 15th, 2008 at 9:33 am

    Apart from the Permalink issue (which I think everyone has had a beef with in the past) I don’t think I have really suffered with any of these.

     
     
    #5
    Millisami
    December 15th, 2008 at 1:20 pm

    Scan through the bottom sections of error/access log files to know whats the actual error occurring in server.

     
     
    #6
    Justin Tadlock
    December 17th, 2008 at 1:06 pm

    Great article. Your number 1 just happens to be the most asked question I get on my support forums. I quite literally have the WP FAQ-Troubleshooting page for this bookmarked in my browser’s sidebar to easily access it.

     
     
    #7
    Simon
    December 19th, 2008 at 7:47 pm

    We thought this article was so great we added you on wpsos.com

    Thanks Simon

     
     
    #8
    James
    February 9th, 2009 at 11:29 pm

    Great stuff! Thanks

     
     
    #9
    KJ
    May 1st, 2009 at 7:51 pm

    I guess I should be happy that I’ve not experienced any of these yet. Strange. Touch wood!

     
     
    #10
    Rashmi Talwar
    May 4th, 2009 at 5:38 pm

    I inserted some html code into the source of the blog and it shows an error on my blog .

    i do not understand how to go back to the source and identify the errorneos html or how to restore my previous settings

     
     
    #11
    scott
    July 15th, 2009 at 5:14 am

    I would also add that some of Wordpress themes don’t seem to do well with internet explorer. I have two different sites with two different themes and have two different internet explorer issues. One won’t load and the other one won’t display correctly in internet explorer.

     
     
    #12
    Spiky
    August 18th, 2009 at 4:48 am

    heyi have a problem that my site theme was working very well in safari and fire fox … but when i opened it in IE i noticed that my side bar distrbuted … as a spacee from top was created .. causing the appearrence to be strange in my side bar as there was no space before wich caused also to move the options appeared on my side bare to downwords

    plzzzzzzzzzz anhy helppppp you can view the diffrence by openeny my site in firefox and then in IE and u will notice what happened

    http://thelittledemon.freehostia.com/wordpress/

     
     
    #13
    ankit
    September 1st, 2009 at 1:30 am

    I too faced such problems before.. Thanks for d post..it will help me alot

     
     
    #14
    kittu
    September 25th, 2009 at 8:27 am

    hey,
    I am encountering a weird problem. The ads on my blog have gone missing. when my friends check the blog, they can see the ads. It still doesnt appear when i see it. Wonder why this is happening. I had installed the “copyright footer” plugin before i checked my blog.
    Do let me know if you have the solution.

     
     
    #15
    Tony
    February 20th, 2010 at 12:26 pm

    Ive had a lot of people looking at a problem with my Widgets!! The Widgets page suddenly froze so I cant use them, They wont drag and drop nor can I use the add feature. Ive tried reloading wordpress, changing themes and database but no go. Its an adsense site but is no use right now as there are no ads.

     
     
    #16
    wptidbits
    February 20th, 2010 at 8:32 pm

    Most of the problem here caused by php lack of knowledge. I guess all fresh default installation of wordpress might not create problem at all. Just make sure don’t install any plugin that is not compatible with your version of wordpress. Same with the theme also. Read before you download, whether the plugin/theme is relevant and useful for the site. Only install after you really know what you are doing. Ask for advice from experts and always learning to improve your knowledge of wordpress, little php, little css and little html. If you know more, its better. Anyway, nothing to lose if we acquired new knowledge right?

     
     
    #17
    Steve
    February 25th, 2010 at 1:02 am

    The real problem (is anyone noticing) is Wordpress is getting to big and quality and consistency of product is starting to suffer. Don’t take it personal I use it.

    Open source is Utopia and all that for the techies, geeks, code poets what have you, but if your trying to build a real world business with this platform beware!

    Have a good one!

     
     
    #18
    Brad
    March 10th, 2010 at 10:06 am

    My wordpress was fine now all of a sudden I can’t:

    upload a photo to a post
    add tags
    work with widgets

    when I click nothing happens…the rest of the blog is working fine. any ideas? changing themes doesn’t help either

     
     
    #19
    neel
    March 15th, 2010 at 9:12 am

    Yeah all these are common problems which we get when working on the wordpress work. Another error most of time come “Error Establishing Database Connection” most of the time the error was due to the server maintenance.

     
    Name (required)

    E-mail (required - never shown publicly)

    Web-site

    Your Comment (smaller size | larger size)

Home| Advertising| About| Contact

© 2010 All Rights Reserved