Solving Wordpress Problems

October 11, 2008

Wordpress is a stable product, and in most of the cases that I have come across, problems are usually nothing to do with the core files that Wordpress distribute.  The usual culprit is one or more plugins. 

Plugins are small pieces of code that add new features to Wordpress, and these can be written by anyone and everyone who has a little php coding experience.

Plugins themselves can often conflict with either Wordpress or other plugins, and the frequent updates to Wordpress only compound the problems.

The types of problems I have had include:

  • Unable to login to the dashboard
  • Pages load up blank e.g. when going to edit a post/page
  • Pages don’t completely load, e.g. the bottom sections of the add post page is missing
  • Plugins wont auto-update
  • Plugins wont function properly e.g. Wordpress Auto-update wont work and fails at some point

The first thing I always do when I have a problem like these is to make sure all plugins are updated to the latest version.

 

Cannot login to Wordpress  Dashboard?

The worst possible scenario is that you are unable to login to your Wordpress Dashboard. There are a couple of things you can do here:

1. Rename the plugins folder on your server to something else, e.g. plugin_old

renameplugins

You’ll find the plugins folder inside the wp-content folder.

After renaming, all plugins are effectively disabled.  This should allow you to login to your Dashboard.  You can then create a new folder on your server called plugins, and copy across the plugins one by one until you find the plugin that is causing the problem.

If you can login to the Dashboard.

Got to the plugins page, and deactivate all plugins.

Then, one by one, reactivate them checking to see if the newly activated plugin is causing the problem.  This will nearly always show you which plugin is the culprit.  In these cases your choice is simply – find a new plugin which does the same thing, OR make do without the functions of that plugin.

 

Cannot Auto-Update a Wordpress Plugin?

This happens a lot.  You go and click on the auto-update link, and the screen just hangs mid-process.  The solution I have found for this is to deactivate the plugin BEFORE clicking the auto-update link, and then reactivating it again after the upgrade was successful.  This works in every case I have tried.

 

Wordpress Auto-Upgrade does not work?

The solution I use for this problem is to deactivate all plugins except the auto-upgrade plugin.  The auto-upgrade then works.

 

Both of the last two problems are probably due to plugins conflicting with each other, and I could probably find  the culprit with some testing.  However, this would be time consuming in these cases, and the solutions I have given above don’t take much time.