• Resolved Asif

    (@asifanwar451)


    Hi,
    The plugin conflicts with W3 Total DB Cache on PHP 8.0 It works fine on PHP 7.4 but we get the below errors with PHP 8.0. We raised the issue to W3 Total support, and they suggest raising it with Header and Footer Manager support. Please refer here for details – https://www.ads-software.com/support/topic/database-cache-doesnt-work-with-php8/#post-14926868

    AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, bool given in /public_html/wp-includes/wp-db.php:3402\nStack trace:\n#0 /public_html/wp-includes/wp-db.php(3402): mysqli_num_fields()\n#1 /public_html/wp-includes/wp-db.php(645): wpdb->load_col_info()\n#2 /public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(176): wpdb->__get()\n#3 /public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(119): W3TC\\DbCache_WpdbInjection_QueryCaching->query()\n#4 /public_html/wp-includes/wp-db.php(2695): W3TC\\DbCache_WpdbNew->query()\n#5 /public_html/wp-admin/includes/upgrade.php(2749): wpdb->get_results()\n#6 /public_html/...

    Appreciate any support.

    Thanks
    Asif

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support 99robotsteam

    (@99robotsteam)

    @asifanwar451 Hi – We are looking into this, we will get back to you with an update. Please bear with us.

    Thank you!

    Plugin Support 99robotsteam

    (@99robotsteam)

    @asifanwar451 Hi – can you provide us the following information:

    1. Your site URL
    2. Version of HFCM you are using
    3. Version of W3 Total Cache
    4. Can you provide the Error Log from your server? If it’s too big a file, then please just copy the last 1000 entries from the log and send the log file to us.

    Thank you!

    Thread Starter Asif

    (@asifanwar451)

    Hi,
    Thanks for getting back.

    To isolate the issue fully, I have set up another site in the multisite mode that has only two plugins, W3 Total cache version 2.1.8 and HFCM version 1.1.13.

    The network has two sites. W3 total is active at the network level and HFCM is active for one of the sites. HFCM is not active at the network level. The site which has HFCM throws errors. I have enabled debug mode, so the error messages are displayed on the page. Here are site URLs, the first site throws errors but the 2nd one works fine.

    https://wordpressmu-533274-2195421.cloudwaysapps.com/
    https://wordpressmu-533274-2195421.cloudwaysapps.com/site2/

    The log file doesn’t have any other errors but let me if you still want the log file.

    Note, I wasn’t able to reproduce the issue without the multisite setup.

    Thanks
    Asif

    Thread Starter Asif

    (@asifanwar451)

    Hey @99robotsteam – Have you reproduced the issue?

    Thanks
    Asif

    Thread Starter Asif

    (@asifanwar451)

    Hey @99robotsteam
    A quick update here. The issues got fixed after upgrading to the latest release (1.1.14) of HFCM.

    Thanks
    Asif

    • This reply was modified 3 years, 5 months ago by Asif.
    Plugin Support 99robotsteam

    (@99robotsteam)

    Hi @asifanwar451 – Let us know if we can help you with anything else. Thank you!

    Thread Starter Asif

    (@asifanwar451)

    That’s all @99robotsteam.
    Appreciate the support.

    Thanks
    Asif

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with W3 Total Cache on PHP 8.0’ is closed to new replies.