Title: Error Message
Last modified: August 31, 2016

---

# Error Message

 *  Resolved [pzmarketing](https://wordpress.org/support/users/pzmarketing/)
 * (@pzmarketing)
 * [10 years ago](https://wordpress.org/support/topic/error-message-526/)
 * Hi, I just installed this plugin under WP 4.5.2 but I get the following errors(
   and I have the feeling the plugin is not working 100% correctly)
 * Notice: Undefined index: port in /mnt/webh/d0/35/52252535/htdocs/WordPress_02/
   wp-content/plugins/eu-cookie-law/defaults.php on line 52 Notice: Undefined index:
   autoblock in /mnt/webh/d0/35/52252535/htdocs/WordPress_02/wp-content/plugins/
   eu-cookie-law/defaults.php on line 33 Notice: Undefined index: boxlinkblank in/
   mnt/webh/d0/35/52252535/htdocs/WordPress_02/wp-content/plugins/eu-cookie-law/
   defaults.php on line 33 Notice: Undefined index: scrollconsent in /mnt/webh/d0/
   35/52252535/htdocs/WordPress_02/wp-content/plugins/eu-cookie-law/defaults.php
   on line 33 Notice: Undefined index: onlyeuropean in /mnt/webh/d0/35/52252535/
   htdocs/WordPress_02/wp-content/plugins/eu-cookie-law/defaults.php on line 33 
   Notice: Undefined index: customurl in /mnt/webh/d0/35/52252535/htdocs/WordPress_02/
   wp-content/plugins/eu-cookie-law/defaults.php on line 33
 * [https://wordpress.org/plugins/eu-cookie-law/](https://wordpress.org/plugins/eu-cookie-law/)

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

 *  Plugin Author [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * (@milmor)
 * [10 years ago](https://wordpress.org/support/topic/error-message-526/#post-7373813)
 * Hi,
    there are notices that shouldn’t affect the work of the plugin. Thank you
   for reporting
 *  [khartahk](https://wordpress.org/support/users/khartahk/)
 * (@khartahk)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-message-526/#post-8711130)
 * I had the same issue with the latest version 2.10 05.01.2017 on line 33 and 52
   so I’ve fixed it like bellow:
    Line 33
 *     ```
       32 for($i=0;$i<$conta;$i++){
       33     if ( !empty($my_options[$defaults[$i][0]]) ) {
       34         $my_options[$defaults[$i][0]] = $defaults[$i][1];
       35         update_option('peadig_eucookie', $my_options);
       36     }
       37 }
       ```
   
 * and line 52
    `52 $nPort = ( isset($asParts['port']) ? $asParts['port'] : '' );`
 * Is it possible for you to add this changes or something simmilar?

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

The topic ‘Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eu-cookie-law_39293e.svg)
 * [EU Cookie Law for GDPR/CCPA](https://wordpress.org/plugins/eu-cookie-law/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eu-cookie-law/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eu-cookie-law/)
 * [Active Topics](https://wordpress.org/support/plugin/eu-cookie-law/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eu-cookie-law/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eu-cookie-law/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [khartahk](https://wordpress.org/support/users/khartahk/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/error-message-526/#post-8711130)
 * Status: resolved