• Resolved frankytank

    (@frankytank)


    [05-Oct-2022 19:41:57 UTC] PHP Warning: Undefined array key 1 in /home/****/public_html/wp-content/plugins/w3-total-cache/Extension_CloudFlare_Plugin.php on line 390

    Hello,

    I have updated to php 8.0 yesterday morning and since then I have a lot of error codes popping in my log file.

    Do you think its related to w3 total cache or just the cloudflare extension?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @frankytank

    Thank you for reaching out and I am happy to assist you with this.
    We’ve performed a lot of testing and the W3TC is fully compatible with PHP 8.0.
    This determines whether the IPV6 address is within range. and the line 390, $last_ip_piece = $ip_pieces[1];is used to extract out the main IP pieces.

    Let me check more and see if I can replicate the problem.

    Thanks!

    Thread Starter frankytank

    (@frankytank)

    Hello Marko,

    Thank you for your support.

    When I disable the cloudflare extension the error stop in my log file.

    Do you think this extesnion could have a problem? It might be my system

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @frankytank

    Thank you for your feedback.
    As you know warning error in PHP does not stop the script from running, so my question is if you are experiencing issues with Cloudflare when the extension is enabled.
    Also Can you please try disabling the IPv6: option in the Cloudflare extension, save all settings and purge the cache and let me know if origin web server is not compatible with IPv6

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php 8.0 compatibility ?’ is closed to new replies.