• I get an error at the top of every page that says
    ” Notice: Undefined offset: 1 in … plugins/w3-total-cache/Extension_CloudFlare_Plugin.php on line 376″

    In the code itself that line refers to:
    $right_piece = $pieces[1];

    This error is displayed on every page of the website.

    Other then the error being displayed its difficult for me to determine if there are any functionality issues.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fmweb

    (@fmweb)

    I found a way to suppress the error message using wp-config, but it doesn’t appear work consistently on the iPhone.

    @fmweb, the fix is on line 376 and line 324 into /wp-content/plugins/w3-total-cache/Extension_CloudFlare_Plugin.php, delete the line:

    $right_piece = $pieces[1];

    Thread Starter fmweb

    (@fmweb)

    Ok I tried that solution, and I now get:

    “Notice: Undefined offset: 1 in wp-content/plugins/w3-total-cache/Extension_CloudFlare_Plugin.php on line 381”

    Here’s that line:
    $last_ip_piece = $ip_pieces[1];

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

The topic ‘Undefined Offset in Cloudflare Extension’ is closed to new replies.