Plesk

Plesk WordPress website with PHP 8 is inaccessible: There has been a critical error on this website

Symptoms

Cause

Theme/plugin from the error message is incompatible with PHP 8.

Resolution

Apply one of possible solutions:

Change PHP to a lower version

  1. Log into Plesk.
  2. Go to Domains > example.com > PHP Settings.
  3. Switch PHP handler to a version lower than 8.0.

Disable incompatible plugin/theme

  1. Log into Plesk.
  2. Go to WordPress > example.com.
  3. Disable the incompatible plugin and/or switch to another theme that is compatible with PHP 8.0.