• Resolved spiritualawakening1

    (@spiritualawakening1)


    Hi,
    My website stopped working when I tried to upgrade it to PHP version 7.3. After I raised the issue with my hosting company, and after they did some digging, I was told that PHP version 7.3 is not compatible with w3-total-cache. Will you be making changes to the plugin so as to make it compatible with PHP version 7.3?
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter spiritualawakening1

    (@spiritualawakening1)

    Just an update to say that your plugin is definitely not compatible with PHP version 7.3. A compatibility test was run by both my web hosting company and my web developer and it confirmed once again that the w3-total-cache plugin is only compatible up to PHP 7.2.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    We have a few servers running PHP 7.3 without issues, Can you please be more specific and describe your issue? Are you using CDN?
    Can you please disable the W3 Total Cache settings one by one and see which one is causing this?

    Thread Starter spiritualawakening1

    (@spiritualawakening1)

    Below is the error log that shows the issue. As this is a public forum, any reference to my website has been replaced by 3 dots:

    Stack trace: #0 /home/…/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(145): wpdb->db_connect(true) #1 /home/…/public_html/wp-includes/wp-db.php(639): W3TC\DbCache_Wpdb->db_connect() #2 /home/…/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(252): wpdb->__construct(‘…_wp’, ‘q#_5SzyO8HMw’, ‘…_wp’, ‘localhost’) #3 /home/…/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection.php(38): W3TC\DbCache_Wpdb->default_initialize() #4 /home/…/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(152): W3TC\DbCache_WpdbInjection->initialize() #5 /home/…/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(379): W3TC\DbCache_Wpdb->initialize() #6 /home/…/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(229): W3TC\_CallUnderlying->initialize() #7 /h in /home/…/public_html/wp-includes/wp-db.php on line 1645

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @spiritualawakening1,

    You have only included the stack trace, not the error message itself.
    Please provide us with the error message so we can determine what is going on.

    Thread Starter spiritualawakening1

    (@spiritualawakening1)

    This is the error message. This is what both my web developer and hosting company got when they run a compatibility test.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    If you disable DB cache does the issue persist?

    Thread Starter spiritualawakening1

    (@spiritualawakening1)

    In the end, we decided to get rid of the plugin all together and go with wp rocket, which solved the issue. Thanks for taking the time to get back to me.

    Worth me noting @vmarko that when I set up my server (built from the ground up myself a few months ago – Ubuntu, nginx, apache2, php7.3-fpm, mysql5.7, redis-server) I had a similar looking stacktrace complaining about wpdb and DbCache_Wpdb, that related back to the mysql/mysqli extension for PHP7.3 – I can’t remember now, but it either wasn’t installed by default, or wasn’t compatible or something went awry. I spent a few hours on it, fresh installs of PHP 7.3, the mysql/mysqli/pdomysql and in the end I think the PDO driver was what sorted it for me…
    Since then, I’ve had no compatibility issues with PHP7.3 ?? Just thought it was worth noting!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Thank you for this info @willstockstech.
    Very appreciated.
    We’ll not this for any further questions regarding PHP compatibility.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘w3-total-cache not compatible with PHP version 7.3’ is closed to new replies.