• Resolved bedazelive

    (@bedazelive)


    Hi there!

    I’d like to let you know that since the last update on May 30th, I’ve been getting lots of PHP Warnings and my site suffered a significant decrease in speed.
    I’ve checked the error log and the GDPR plugin seems to be the problem. Can you please help me out? Thanks! Here are the logs:

    [30-May-2018 11:37:55 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [30-May-2018 11:37:55 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [30-May-2018 11:37:55 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [30-May-2018 12:12:33 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [30-May-2018 12:12:33 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [30-May-2018 12:12:33 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [30-May-2018 22:47:32 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [30-May-2018 22:47:32 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [30-May-2018 22:47:32 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [31-May-2018 07:51:35 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 07:51:35 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 07:51:35 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [31-May-2018 11:18:44 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 11:18:44 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 11:18:44 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [31-May-2018 16:19:17 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 16:19:17 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 16:19:17 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [31-May-2018 18:54:27 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 18:54:27 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [31-May-2018 18:54:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [01-Jun-2018 20:47:08 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [01-Jun-2018 20:47:08 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [01-Jun-2018 20:47:08 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [02-Jun-2018 08:04:03 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [02-Jun-2018 08:04:03 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [02-Jun-2018 08:04:03 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [03-Jun-2018 15:32:13 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [03-Jun-2018 15:32:13 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [03-Jun-2018 15:32:13 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [03-Jun-2018 23:18:26 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [03-Jun-2018 23:18:26 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [03-Jun-2018 23:18:26 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [03-Jun-2018 23:37:24 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [03-Jun-2018 23:37:24 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [03-Jun-2018 23:37:24 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [04-Jun-2018 01:07:06 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 01:07:06 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 01:07:06 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [04-Jun-2018 02:46:54 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 02:46:54 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 02:46:54 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [04-Jun-2018 06:36:03 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 06:36:03 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 06:36:03 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [04-Jun-2018 07:15:31 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 07:15:31 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 07:15:31 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309
    [04-Jun-2018 16:48:29 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 16:48:29 UTC] PHP Warning: array_map(): Argument #2 should be an array in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 308
    [04-Jun-2018 16:48:29 UTC] PHP Warning: Invalid argument supplied for foreach() in /home4/yoogzyco/public_html/wp-content/plugins/gdpr/includes/class-gdpr.php on line 309

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

Viewing 1 replies (of 1 total)
  • Plugin Author Fernando Claussen

    (@fclaussen)

    Thank you for reporting this. Another user reported the same issue.
    I’ve got a fix in place and it will be fixed in tomorrow’s update.

    Let me know if that issue persists after updating.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: array_map(): Argument #2’ is closed to new replies.