Support » Plugin: EU Cookie Law (GDPR) » PHP 7.x compatibility

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

    (@milmor)

    Hi,
    please let me know issues because the plugin should work with PHP7

    After the last update of the plugin all is running OK with PHP 7.0.8!

    We changed the Plugin after the issues, so i can not provide you anymore any near details about this. But what i remember is, that we are running in Problems with activated plugin and set the “Cookie acceptance length”.

    Best regards.

    Hi Marco!

    The error messages what we get by saving the settings with PHP 7.0.7 and latest Plugin Version:

    Notice: Undefined index: port in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 52
    
    Notice: Undefined index: closelink in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: boxcontent in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: autoblock in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: tinymcebutton in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: scrollconsent in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: navigationconsent in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: networkshare in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: onlyeuropean in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: customurl in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: networkshareurl in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 33

    Standard error message we open the plugin setting page:
    Notice: Undefined index: port in /var/www/vhosts/example.com/relaunch2015/wp-content/plugins/eu-cookie-law/defaults.php on line 52

    Hello,

    I am having similar Notification:

    Notice: Undefined index: port in ../plugins/eu-cookie-law/defaults.php on line 52
    Notice: Undefined index: closelink ../plugins/eu-cookie-law/defaults.php on line 33

    Thanks for your help in advance

    • This reply was modified 3 years, 1 month ago by  michowas.

    On our Apache2, PHP 7.0.4 FPM/FastCGI, Multisite WordPress 4.7.3 we currently get this PHP warnings with EU Cookie Law 2.10:

    Notice: Undefined index: port in /var/www/html/wp-content/plugins/eu-cookie-law/defaults.php on line 52
    
    Notice: Undefined index: autoblock in /var/www/html/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: boxlinkblank in /var/www/html/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: tinymcebutton in /var/www/html/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: onlyeuropean in /var/www/html/wp-content/plugins/eu-cookie-law/defaults.php on line 33
    
    Notice: Undefined index: customurl in /var/www/html/wp-content/plugins/eu-cookie-law/defaults.php on line 33

    Is this PHP version related?

    We are having the same issue with WordPress 4.7.4 and PHP 5.6.30

    The first error messages were related with this, but after fixing thoose lines, the plugin give a lot of errors while trying to save in configuration screen.

    Any chance of a reply to this topic?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP 7.x compatibility’ is closed to new replies.