Title: PHP Notice: Undefined offset: 1
Last modified: August 21, 2016

---

# PHP Notice: Undefined offset: 1

 *  [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-1/)
 * I’m getting these PHP notices. You guys are great and professional, please develop
   the plugin using `WP_DEBUG`, `WP_DEBUG_DISPLAY` and `WP_DEBUG_LOG`.
 *     ```
       [13-Dec-2013 10:56:30 UTC] PHP Notice:  Undefined offset: 1 in /plugins/cloudflare/ip_in_range.php on line 122
       [13-Dec-2013 10:56:30 UTC] PHP Notice:  Undefined offset: 1 in /plugins/cloudflare/ip_in_range.php on line 127
       ```
   
 * [http://wordpress.org/plugins/cloudflare/](http://wordpress.org/plugins/cloudflare/)

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

 *  [kweervegan](https://wordpress.org/support/users/kweervegan/)
 * (@kweervegan)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-1/#post-4414672)
 * I get the same errors in debug mode. The IPV6 part of the code is where the errors
   are coming from. Have had IPV6 enabled. Would be good to find out more if anyone
   can shed some light on it.
 *  [simon-says](https://wordpress.org/support/users/simon-says/)
 * (@simon-says)
 * [12 years ago](https://wordpress.org/support/topic/php-notice-undefined-offset-1/#post-4414676)
 * Thanks for the feedback, we’ll take a look at this in the next version.
 * Simon

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

The topic ‘PHP Notice: Undefined offset: 1’ is closed to new replies.

 * ![](https://ps.w.org/cloudflare/assets/icon-256x256.png?rev=2471183)
 * [Cloudflare](https://wordpress.org/plugins/cloudflare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudflare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudflare/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudflare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudflare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudflare/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [simon-says](https://wordpress.org/support/users/simon-says/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/php-notice-undefined-offset-1/#post-4414676)
 * Status: not resolved