Website broken after PHP upgrade

PHP is the language your website’s code runs on. When a host moves a site to a newer PHP version and the code is not ready, the site can stop working overnight. It is stressful, but it is usually fixable, and your content is almost always still there.

Start a rescue request → A person reviews every request. No obligation.

First, don’t panic

A site that breaks after a PHP change has usually not lost anything. Your pages, products, orders and images are normally still sitting in the database and files. What has changed is the version of PHP reading them, and the older code does not agree with it.

Get back online: ask your host to switch back

The quickest fix is usually to put the site back on the PHP version it used before. Many hosts let you do this yourself in the control panel, under a setting such as Select PHP Version or MultiPHP Manager. If you are not sure, contact your host’s support and ask:

  • Which PHP version was my site on before the change?
  • Can you switch it back to that version for now?
  • Is there a date when the old version will be removed for good?

Switching back is a short term fix. The old version gets no security fixes, so the code still needs updating.

What the white screen and errors mean

  • A blank white page usually means PHP hit an error and stopped before it could show anything. On PHP 8 many problems that used to be small warnings now stop the page like this
  • “500 Internal Server Error” is the server’s general way of saying something went wrong while building the page
  • “There has been a critical error on this website” is the WordPress version of the same message, and WordPress usually emails the site administrator more details

Copy down any error messages, or take a screenshot. They help us find the cause faster, and you don’t need to understand them.

Things to check, and things to avoid

  • If only part of the site is broken, note which part: a form, the checkout, the admin area. A home page can look fine while those fail
  • If a page still shows an old error after a fix, a cache may be holding on to it. Your host or a caching plugin can clear it
  • Don’t start deleting plugins on the live site. It can lose settings and make the real cause harder to find
  • If odd dates or missing menu items appear, the new PHP version may have different server settings (timezone, max_input_vars) from the old one

Then we fix it properly

We take a full backup, copy the site to a private staging area running a currently supported PHP version, and turn on error logging to find every place where the code or a plugin fails. We fix those, then test the forms, emails, logins and checkout that matter to your business before planning the switch with you. Your design and content stay the same wherever technically feasible.

Questions

Have I lost my website?

Almost certainly not. A PHP change does not delete your content. It is still there, waiting for code that works with the newer PHP version.

My host won’t switch back. What now?

Tell us when you send your request. We can often get the site showing again with targeted fixes first, then finish the full upgrade to a currently supported version.

Should I restore a backup?

Not without checking first. A backup brings back old code, so if PHP stays on the newer version the same errors return, and you may lose recent orders or changes. Talk to your host or to us before restoring.

Do I need to send you my login details?

No. Never put passwords in the form or in an email. Once you agree to go ahead, we arrange access securely.

How it works

  1. 01

    Tell us what’s happening

    Share your web address, paste the warning from your host, or describe the problem. No PHP knowledge needed.

  2. 02

    We review

    A person looks at what you sent and works out what needs checking.

  3. 03

    We recommend a plan and quote

    You get the recommended approach, a clear scope and a price, including anything that needs further investigation.

  4. 04

    We test and upgrade once agreed

    Where feasible, changes are tested on a separate copy before going live. Nothing starts until you approve.

Let’s get your site on supported PHP.

Tell us what’s happening. A person replies.

My site is broken →