How to troubleshoot a broken WordPress website

If your website is “gone” and has been replaced with an error message such as “Critical Error”, a confusing block of code or a blank screen, then one of the following could be the issue:

  • There is a plugin conflict – some plugins affect the functionality of others
  • An outdated plugin or theme version isn’t compatible with a newer version of WordPress
  • The PHP version of the web server has been updated and your website’s theme, plugin or code isn’t compatible with this new version

The troubleshooting steps below can assist to get your site functioning properly again. It’s usually possible to fix these issues without any knowledge of coding or web development, even if you aren’t familiar with WordPress.

First, check the PHP version and roll back to a previous version

Have you or xneelo recently upgraded the version of PHP used by your site? If so, your theme, plugins or any hard code may not be compatible with the newer PHP version.

If the previous PHP version is still available in the xneelo control panel, then roll back to that version and see if this resolves the issue. Note that this is only a temporary fix as xneelo regularly removes older end-of-life PHP versions and your site will need to become compatible with newer versions. 

  • If rolling back fixed the site, update the theme, plugins and WordPress core via the WordPress dashboard (Dashboard > Updates) while still on the rolled-back PHP version. Then try switching to the new PHP version to test.
  • If the site is still broken and shows an error message, continue with the troubleshooting below.

Note: If the WordPress core, theme and plugin updates don’t resolve the issue, then your site may contain static code that isn’t upgradeable to the new PHP version. In this case, you will need to enlist an experienced web developer to assist you.

Troubleshooting steps to take if the site is still broken

  • If you can you access your WP dashboard (usually at /wp-admin e.g. example.com/wp-admin) continue with Section A
  • If the WordPress dashboard also has an error continue to either Section B (phpMyAdmin) or Section C (FTP) – the same troubleshooting steps are possible via both options.

Note: If you can’t access the dashboard directly, there may be a screen message informing you to check your mail for a message from WordPress that will give you a link to access your dashboard in Recovery Mode. This mail is sent to the WordPress admin email address.


  • A. Access via WordPress dashboard

    Does the error message give any indication what the issue is? If it refers to a theme or plugin, then skip to that particular section below.

    Step 1: Check for updates

    In the WordPress dashboard, select Dashboard > Updates. Update any themes, plugins and WordPress core versions listed here.

    Browse to your website to see if the issue is resolved. If not, continue to the next step.

    Step 2: Check your theme 

    Replace your active theme with a default WordPress theme, such as Twenty Twenty-Three, to see if the issue is caused by your current theme. 

    Note: This update could change the layout of your website.

    In the WordPress dashboard, select Appearance > Themes. Your current theme will be shown as Active. Select one of the default themes listed, such as Twenty Twenty-Three and activate it.

    Browse to your website and see if it displays without the error message. Note that the style of the website may have changed but the site should be functional. 

    If the site displays, then you will need to contact the theme developer to report the issue and ask for assistance.

    You can reactivate the previous theme in the same manner.

    If the error message remains, continue to the next step.

    Step 3: Check your plugins

    Plugin issues are the most common cause of broken WordPress websites. Even if the plugins have worked successfully together in the past, an update to one plugin may result in conflict with another plugin.

    You can disable all of your plugins to see if one of them may be causing your website error.

    1. Click on Plugins in the side menu.
    2. Click on the top checkbox to select all of your plugins.
    3. Select the Bulk Action drop-down menu and select Deactivate. Then click Apply.
    4. The page will refresh, and all your plugins will be disabled.
    5. Browse to your website to check if the error still displays. Note that the site may look different. If the error is gone, it means that one of your plugins is causing your website error.
    6. Activate your plugins one by one to see which plugin is the problem. After each item is activated, browse to your website to check. If your website experiences an error after activating a particular plugin, then that is the culprit. You can leave that plugin deactivated until the issue can be resolved.

    As there are thousands of plugins available, it is often possible to find another plugin that does the same job. Also, contact the plugin developer as they may be able to assist.





  • B. Access via phpMyAdmin
                                                                                 

    If you aren’t able to access the WordPress dashboard, then you can make changes to your website’s theme and plugins using phpMyAdmin directly from your xneelo Control Panel.

    Step 1: Check your theme

    1. Access phpMyAdmin via your xneelo control panel – here’s how (steps 1-6)
    2. Select your WordPress database if it is not already selected. You will then be able to see WordPress database tables.
    3. In the side menu, select wp_options to open the options table.
    4. Locate the rows named template and stylesheet in the option_name column – they may be on the 2nd page.
    5. Double-click the field option_value for template.
    6. In the option_value column, you will see the name of the active theme. Replace it with the name of a default WordPress theme e.g twentytwenty, twentytwentythree (This is assuming that a default theme exists on the site). Note: Ensure to make a note of your current theme with its exact spelling in case you require it again.
    7. Click Go to save or click outside of the box to update the row.
    8. Follow the same steps for stylesheet.
    9. Check your website to see if the issue has been resolved (your website may look a little different). 
      • If the issue is not resolved,  return the template and stylesheet to the previous theme, then continue to Step 2 below.
      • If the error is gone and the website is displaying, it appears that the problem may be caused by your theme. If so, you should now have access to your WordPress dashboard:
        • Check for any outstanding updates to the WordPress core, active theme or plugins (Dashboard > Updates). Reactivate your theme – either via the WordPress dashboard or phpMyAdmin. 
        • If the error returns, you will need to change themes or contact the theme developer for assistance.

        Step 2: Check your plugins

        1. Access phpMyAdmin via your control panel.
        2. Select your WordPress database if it is not already selected. You will then be able to see WordPress database tables.
        3. In the side menu, select wp_options.
        4. Locate the row named active_plugins in the option_name column and click on that row’s Edit button.
        5. In the option_value column, you will see a list of active plugins. Copy this list, so that you can easily restore it later if necessary.
        6. Delete the text in the option_value column and replace it with a:0:{}
        7. Click Go to save the changes. This will effectively disable all the plugins on your WordPress website. Note: You can re-enable the plugins by copying and pasting the list of active plugins back into the option_value field, and then save your changes.
        8. Browse to your website to check if your website is working (it may look different). If so, this would mean that one of your plugins is causing your website error. 
          • If the error message is still there, restore the plugin list via phpMyAdmin.
            You have now reached the end of regular troubleshooting steps and will now need to get an experienced web developer to investigate.
          • If the error is gone and the website is displaying, it appears that the problem is caused by one of your plugins. If so, you should now have access to your WordPress dashboard:
            • Check for any outstanding updates to the WordPress core, active theme or plugins (Dashboard > Updates).
            • Reactivate your plugins one by one via the WordPress dashboard. After each plugin is activated, browse to your website to check if it is working. If your website experiences an error after activating a particular plugin, you may use phpMyAdmin to deactivate this item once more. You can leave that plugin deactivated until the issue can be resolved.
            • As there are thousands of plugins available, it is often possible to find another plugin that does the same job. Also contact the plugin developer as they may be able to assist.





      • C. Access via SFTP

        Use this option if:

        • you aren’t able to access the WordPress dashboard
        • you don’t have access to the xneelo control panel (though you will need the FTP access details from the control panel)

        If you have never used an FTP client before, you can see our Help Centre article on how to use FileZilla. You can find your FTP login details within your control panel.

        Note: SFTP is the secure version of FTP. Simply specify port 22 for connection.

        Step 1: Check your theme

        To check if your WordPress theme is causing an error on your website, try activating a default WordPress theme, such as Twenty Twenty-Two using SFTP.

        1. Connect to your hosting account using an FTP application.
        2. In the right panel select the /public_html /wp-content /themes folder. There will likely be multiple folders with year names, such as twentytwentythree – these are the default themes. Your active theme will have another name.
        3. Select your active theme and rename it to deactivate (right-click > rename e.g add “_off” to the folder name.  This will cause WordPress to automatically activate one of the default themes.
        4. Browse to your website – it may look different – to see if the issue is resolved. 
          • If the error message is still there, rename the theme In your FTP application back to its previous name then continue to Step 2 below.
          • If the error is gone and the website is displaying, it appears that the problem may be caused by your theme. If so, you should now have access to your WordPress dashboard:
            • Check for any outstanding updates to the WordPress core, active theme or plugins (Dashboard > Updates).
            • Reactivate your theme. If the error returns, you will need to change themes or contact the theme developer for assistance.

        Step 2: Check your plugins

        Plugin conflicts are the most common cause of broken websites. Even if the plugins have worked successfully together in the past, an update to one plugin may result in conflict.

        You can disable all of your plugins to see if one of them may be causing your website error.

        1. Connect to your hosting account using an FTP application.
        2. In the right panel select the /public_html /wp-content /plugins folder.
        3. Rename the plugins folder to deactivate (right-click > rename e.g add “_off” to the folder name.
        4. Browse to your website to check if your website is working (it may look different). If so, this would mean that one of your plugins is causing your website error. 
          • If the error message is still there, rename the plugins folder back to the original. You have now reached the end of regular troubleshooting steps and will need to get an experienced web developer to investigate.
          • If the error is gone and the website is displaying, it appears that the problem is caused by one of your plugins. If so, you should now have access to your WordPress dashboard:
            • Check for any outstanding updates to the WordPress core, active theme or plugins (Dashboard > Updates).
            • Reactivate your plugins one by one via the WordPress dashboard. After each plugin is activated, browse to your website to check if it is working. If your website experiences an error after activating a particular plugin, use SFTP to deactivate this item once more. You can leave that plugin deactivated until the issue can be resolved.
            • As there are thousands of plugins available, it is often possible to find another plugin that does the same job. Also, contact the plugin developer as they may be able to assist.



      Assist Note

      Website development falls out of our scope of service.