Upgravo › Guides

My host forced a PHP upgrade and broke my WordPress site

Last reviewed 8 November 2026 · by Nicolás Alejandro Salinas

Hosts retire PHP versions when PHP stops patching them, and many move every site to a newer version automatically with a few weeks' notice by email. If your site broke on a day you changed nothing, this is the usual cause. The fix is the same as any PHP upgrade; the difference is that you have to prepare for the next one, because it will happen again.

Confirm it was PHP

Get the site back

Most hosts let you choose the PHP version per site even after the forced move, for a limited time. cPanel: MultiPHP Manager. Plesk: PHP Settings. Managed hosts: the site's Tools or Settings page. Select the previous version; the site returns in a minute.

If the previous version is gone from the selector, the host has retired it. Then: deactivate the failing plugin (name from the error log; rename its folder over SFTP if the admin is down), and fix or replace it.

Why the host did this

PHP versions receive security fixes for a fixed period (since 2024: two years of active support plus two of security fixes). After that, a host running them is running known vulnerabilities. Current dates:

PHP Security fixes until
8.1 31 December 2025 (already over)
8.2 31 December 2026
8.3 31 December 2027
8.4 31 December 2028

So PHP 8.2 sites will be moved during 2027, 8.3 sites during 2028. The next forced upgrade has a date.

Prepare for the next one

  1. Read the host's notice. It names the target version and the date.
  2. Scan before the date. Run a compatibility scan against the target version as soon as the notice arrives; you then have weeks to update or replace what it flags instead of an outage.
  3. Test on staging with the target version for runtime errors a scan cannot see.
  4. Switch yourself, early. A site you moved on a Tuesday morning with the log open is a different experience from one the host moved at 3 a.m.

Upgravo checks every installed plugin and theme against the target PHP version and lists what breaks and what only warns, per plugin with file and line. For sites you maintain for other people, the Pro version runs the scan on a schedule and emails you when an update introduces an incompatibility, so the warning arrives before the host's deadline does.

Install it from WordPress.org: Upgravo – PHP Compatibility Check.

Sources

More guides