How to Debug WordPress Bug Like a Boss

wp-debug-for-newbie

Here’s a guide to debug if you have bug on your WordPress website:

  1. Make sure you have full backup of your site.
  2. Deactivate all your plugins.
  3. I mean ALL your plugins.
  4. Yes that contact forms and Jetpack too.
  5. Yes. ALL PLUGINS.

If the bug is gone after you deactivate all your plugins, you have bug in one of your plugins.

Activate your plugins one by one to get the buggy plugin. After you find it, contact the plugin developer.

If the problem is still there after you deactivate all plugins, switch to one of the default theme ( twentyfifteen, twentysixteen, etc ).

If after you switch to default theme the problem is gone, the bug is in your theme. Contact the theme author.

If the bug is still there after you switch to default theme. The problem is with your WP install/server.

Try to reinstall WordPress from Dashboard > Updates screen, if fails contact your host.

(updated on 03.DEC.2016)

2 Comments

  1. Arvind

    My method which I have been using for too long 🙂
    Disable half of anything at a time. Plugins, code. Anything. Check which half makes the bug disappear and continue halving until you have your bug.

    Also, don’t forget to switch themes! The bug may even be there O_o

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.