You’re reading a post that’s over a year old. That’s an eternity in WordPress development, and so much has changed since then.
WordPress officially has “Beta” support for PHP 8.0, 8.1 & 8.2.
What this means is that there may be some edge cases in some server environments where WordPress itself may break. But I have dozens of my own and my friends’ sites on PHP 8.2, and I’ve not encountered any of these “edge cases” yet. Thousands of hosting companies also run PHP 8.x
by default and support WordPress.
So, despite the “beta” tag, it’s far more likely that your theme or one of your plugins is failing in PHP 8, and not WordPress itself.
Open your wp-config.php
file, and check to see if you have this line:
define( 'WP_DEBUG', false );
… and change the false
to true
.
If the line doesn’t exist at all, add it:
define( 'WP_DEBUG', true );
This will put WordPress in debugging mode and give you information about what’s really causing the crash.
Standing by for feedback.