• My log is filling up with PHP warnings caused by your plugin. It’s possible this is only since the last release, but I can’t say for certain.

    Here are examples:

    Invalid argument supplied for foreach() in /wp-content/plugins/social-pug/in c/class-frontend-data.php on line 78
    
    Illegal string offset 'pinterest' in /wp-content/plugins/social-pug/in c/functions-share-counts.php on line 111PHP message: PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/social-pug/in c/functions-share-counts.php on line 117PHP message: PHP Warning:  array_sum() expects parameter 1 to be array, string given in /wp-content/plugins/social-pug/in c/functions-share-counts.php on line 482PHP message: PHP Warning:  array_sum() expects parameter 1 to be array, string given in /wp-content/plugins/social-pug/in c/functions-share-counts.php on line 525PHP message: PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/social-pug/in c /class-frontend-data.php on line 78

    Please add exception checking to your code to catch these errors.

Viewing 1 replies (of 1 total)
  • Hey @mattf10,

    Thanks so much for reaching out! I did some testing on my end and I wasn’t able to reproduce this specific PHP error that you were seeing but in the past we’ve seen this occur due to something else on the site serializing our data in Grow Social.

    I went ahead and submitted an issue over to our plugin engineers to see if there’s a way we can prevent this from occurring in a future update to Grow Social.

Viewing 1 replies (of 1 total)

The topic ‘Plugin generating lots of PHP warnings’ is closed to new replies.