Plugin generating lots of PHP warnings
-
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 78Please add exception checking to your code to catch these errors.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Plugin generating lots of PHP warnings’ is closed to new replies.