Title: php 8 crashes
Last modified: February 15, 2023

---

# php 8 crashes

 *  [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * (@devsaredead)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-crashes/)
 * I cannot update any of my sites to php 8, they all crash. I also read that [WP is not at all ready](https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/)
   for the switch, and I wonder when it will be (for the average non tech users).
 * I would like to know at least how I can make some applications (crm, analytics)
   that are running as subdomains on the same server.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-crashes/#post-16472646)
 * 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](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/).
 * 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.
 *  Thread Starter [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * (@devsaredead)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-crashes/#post-16472738)
 * sure if plugin/theme don’t fix their products, it’s hard to carry on (and one
   even pays fo their service).
 * However, I have set all WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY to false, and
   have the following errors (edited):
    - _is\_embed was called uncorrectly_
    - _is\_search was called uncorrectly_
    - _Uncaught Error: Call to undefined function in_, for instance _[/wp-includes/
      class-wp-hook.php(332): WP\_Hook->apply\_filters(NULL, Array) #4 /wp-includes/
      plugin.php(517): WP\_Hook->do\_action(Array) #5 /public\_html/wp-settings.
      php(480): do\_action(‘plugins\_loaded’) #6 /wp-config.php(96): /public\_html/
      wp-load.php(55): require\_once(‘/wp…’) #8 /public\_html/wp-blog-header.php(
      13): require\_once(‘//pu…’) #9 /public\_html/index.php]_
 * I have no idea if these can help understanding the issue.
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-crashes/#post-16472934)
 * > sure if plugin/theme don’t fix their products, it’s hard to carry on (and one
   > even pays fo their service).
 * Businesses fail and close shop all the time. Developers get bored and abandon
   their projects. Site owners don’t always update their installed plugins and themes
   even when updates are available.
 * > However, I have set all WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY to false,
 * I suppose you meant to say `true`, and not false 😀
 * Disable ALL plugins. To do this, simply rename the `plugins` folder in `wp-content/`.
 * Then, if you’re using a custom theme, switch the site to use the latest default
   theme for your version of WordPress. To do this, simply rename your active theme’s
   folder in `wp-content/themes/`.
 * Now try to open both your site’s front-end and back-end, and report any errors
   you find.
 * Standing by.
 *  Thread Starter [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * (@devsaredead)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-8-crashes/#post-16845566)
 * I need to solve this with a different approach. I’m putting WordPress aside for
   a moment, but I need to upgrade my php 8.0 at least for my applications that 
   are in subdomains.
 * They are independent, and 8.0 ready, so why they crash if I try to upgrade php
   from my cPanel php manager ?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php 8 crashes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/php-8-crashes/#post-16845566)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
