Guides › HTML / PHP sites › Site down or error screens

Site Broke After a PHP Version Upgrade: Deprecated and Removed Functions

Your host moved you to a newer PHP and the site now errors. Roll back for now, then update the code or plugins that are too old.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

New PHP versions remove or change old features. Old code and old plugins that relied on them then fail.

Step 1: Get the site back

In your hosting panel, open the PHP configuration and select your previous PHP version. This is a short-term fix. Old versions stop receiving security updates, so plan to update.

Step 2: Read the error

Check the error log, or see our PHP error guide. The message names the file and the function.

Step 3: Common causes in PHP 8

Step 4: Update, do not patch blindly

Step 5: Test on a copy

Ask your host for a staging site, or copy the site to a test folder, and try the newer version there first.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.