WordPress.org

Ready to get started?Download WordPress

Forums

CloudFlare
FIx: PHP Notice: Undefined index: HTTP_CF_CONNECTING_IP (3 posts)

  1. gruvii
    Member
    Posted 1 year ago #

    PHP Notice: Undefined index: HTTP_CF_CONNECTING_IP in /wp-content/plugins/cloudflare/cloudflare.php on line 44

    change

    $is_cf = ($_SERVER["HTTP_CF_CONNECTING_IP"])? TRUE: FALSE;

    to

    $is_cf = isset($_SERVER["HTTP_CF_CONNECTING_IP"]);

    http://wordpress.org/extend/plugins/cloudflare/

  2. greenspeakmedia
    Member
    Posted 1 year ago #

    I also have noticed this. Updating line 44 to the following will fix it up.

    $is_cf = (isset($_SERVER["HTTP_CF_CONNECTING_IP"]))? TRUE: FALSE;

  3. Baden
    Member
    Posted 11 months ago #

    Nice... so this plugin was updated on 2013-7-11... WTF CloudFlare...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.