• Resolved massimod

    (@massimod)


    Hello.

    I’m seeing this:

    [14-Mar-2019 11:02:38 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home/wp-content/plugins/complianz-gdpr/class-cookie.php on line 1083

    I use WP 4.9.9 in a perfectly stable site. Is this something i should be worried about ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @massimod,

    Thanks for the feedback. This is the result of a completely empty localstorage on your site. When it’s empty, it’s not an array, causing this error. The plugin should check if it is an array or not.

    I have added a check to prevent this error which will be shipped with the next release, but there’s nothing to worry: it’s just a warning and won’t cause any issues.

    Let me know if you have any questions about this.

    Thread Starter massimod

    (@massimod)

    No problem. Apparently that happened during my tests and several cookie clear i did.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: array_map()’ is closed to new replies.