Why is Wordfence giving me this warning on one of my clients sites.
[FEB 28 14:24:43] Warning: Invalid argument supplied for foreach() in /home/soulchur/public_html/wp-content/plugins/gp-premium/library/EDD_SL_Plugin_Updater.php on line 343
Just to report I have seen this issue again with a Wordfence Scan this morning on another site on different hosting. The line number is different but the file is still EDD_SL_Plugin_Updater.php. See issue below:
[May 14 07:41:54] Warning: Creating default object from empty value in /home/sites/domain.com/public_html/wp-content/plugins/gp-premium/library/EDD_SL_Plugin_Updater.php on line 323 0
Thanks for letting us know. I’ll take a look at this one as well, although I’m assuming it’s a false positive in this case. It could be due to our server having some downtime last night (making it so the check for updates call failed).