How do I fix my broken WordPress website after updating PHP? – Help

If your WordPress website stops working after the PHP version has been upgraded and you don’t have the option to revert to a previous version, you can follow this guide to get your website working again.

Step 1 – Disable all plugins via phpMyAdmin

The most common cause of problems after a PHP change is an outdated plugin. Therefore, you should start by disabling your plugins. Your plugins are still available, but can no longer influence your website.

We have prepared a separate guide for this: Disable WordPress plugins in phpMyAdmin

After deactivating the plugins, check if you can access your site. If yes, continue with step 3. If not, please follow the next step.

Step 2 – Temporarily activate a default theme

Using a custom theme on your site can also cause problems. To rule this out, you should temporarily change your active theme to one of the default WordPress themes (Twentysixteen, Twentyseventeen, etc.).

You can also do that via phpMyAdmin. Check out our guide for detailed instructions: Change your WordPress theme from the database.

Step 3 – Login to the WordPress admin

You should now be able to access your dashboard in the WordPress admin view and see your site again, although it will look different. Please log in to WordPress as an administrator.

If you still cannot access the WP admin view, please contact our support so we can help you figure out what’s going on.

Step 4 – Update WordPress, Plugins and Themes

Now that you’re logged in, you should make sure everything is updated to the latest version, including WordPress itself, all your plugins, and all themes. Remove any plugins and themes you don’t need.

Tip: Like WordPress itself, plugins and themes need regular maintenance and updates. If you notice that a plugin you have installed hasn’t been updated in a while, this could be an indication that it is no longer maintained. In this case, it is better to find an alternative plugin that has the same functionality.

Step 5 – Reactivate your theme and plugins

Now that everything is updated to the latest version, you can reactivate your plugins and theme. We recommend doing this one at a time, checking each time that your site is still working properly.

If your website stops working after activating a specific plugin or theme, you can deactivate it again via phpMyAdmin. You will need to replace this plugin or theme as it doesn’t seem to be compatible with the latest PHP update.

Similar articles: