Support » Plugin: EU Cookie Law for GDPR » Undefined index errors

  • Some error messages:

    Notice: Undefined index: port in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 53

    Notice: Undefined index: closelink in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    Notice: Undefined index: boxcontent in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    Notice: Undefined index: scrollconsent in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    Notice: Undefined index: navigationconsent in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    Notice: Undefined index: onlyeuropean in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    Notice: Undefined index: customurl in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    Notice: Undefined index: exclude_script in /home/arsmagn1/public_html/wp-content/plugins/eu-cookie-law/defaults.php on line 34

    But not on every site, and of course I cannot understand why.
    As GPDR was not trouble enough…

    • This topic was modified 1 year, 9 months ago by elenaocone.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marco Milesi

    (@milmor)

    Hi, does this persist? Plugin installation could throw notices like these.

    Looks like the plugin is working nevertheless…

    /wp-content/plugins/eu-cookie-law/defaults.php

    If you are using debug mode in WP the error is a real pain.

    The fix would be to us the PHP empty function on the $asParts['port'] variable like in line 57.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index errors’ is closed to new replies.