Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #161388 Reply
    Jon Welch
    Guest

    My site is on GoDaddy and using WordPress 6.8.2 and PHP 8.1.33 and W3 Total Cache 2.8.11. Today I updated to PHP 8.3 and the site crashed. Do you support PHP 8.3?

    These are the error messages I saw:

    Fatal error: Uncaught Error: Call to undefined function mysqli_report() in /home/cm520k915717/public_html/wp-includes/class-wpdb.php:1964 Stack trace: #0 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(182): wpdb->db_connect() #1 /home/cm520k915717/public_html/wp-includes/class-wpdb.php(773): W3TC\DbCache_WpdbNew->db_connect() #2 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(380): wpdb->__construct() #3 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection.php(55): W3TC\DbCache_WpdbNew->default_initialize() #4 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(192): W3TC\DbCache_WpdbInjection->initialize() #5 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(620): W3TC\DbCache_WpdbNew->initialize() #6 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(312): W3TC\_CallUnderlying->initialize() #7 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(192): W3TC\DbCache_WpdbInjection_QueryCaching->initialize() #8 /home/cm520k915717/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(62): W3TC\DbCache_WpdbNew->initialize() #9 /home/cm520k915717/public_html/wp-content/db.php(90): W3TC\DbCache_Wpdb::instance() #10 /home/cm520k915717/public_html/wp-includes/load.php(708): require_once(‘/home/cm520k915…’) #11 /home/cm520k915717/public_html/wp-settings.php(134): require_wp_db() #12 /home/cm520k915717/public_html/wp-config.php(92): require_once(‘/home/cm520k915…’) #13 /home/cm520k915717/public_html/wp-load.php(50): require_once(‘/home/cm520k915…’) #14 /home/cm520k915717/public_html/wp-admin/admin.php(35): require_once(‘/home/cm520k915…’) #15 /home/cm520k915717/public_html/wp-admin/site-health.php(10): require_once(‘/home/cm520k915…’) #16 {main} thrown in /home/cm520k915717/public_html/wp-includes/class-wpdb.php on line 1964

    #161418 Reply

    Hello Jon,

    Thank you for reaching out, and I am happy to help!

    Depending on the server and the W3 Total Cache configuration, you may need to restart the php-fpm and the server once the PHP is updated.
    Have you tried restarting and seeing if the issue persists?
    Thanks!

    #161419 Reply
    Jon Welch
    Guest

    Thanks for replying Marco. I’m a total novice at this and know nothing about php-frp or for that matter updating php at all. I disabled your plug-in, and instead of getting that crash and a stack-trace, I got a nicer message saying that I was missing the MySQL extension. Evidently in 8.2 and 8.3 it was not enabled by default. I enabled the extension and 2 co-req ones, and the site is working. I am evaluating if I want to turn back on the Total Cache plug-in since my site seems to work fine without it.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Reply #161419 in Site crashed when I updated PHP to 8.3
Your information: