10up / wpcli-vulnerability-scanner

WP-CLI command for checking installed plugins and themes for vulnerabilities reported on wpvulndb.com
MIT License
278 stars 40 forks source link

Invalid argument supplied for foreach() #17

Closed rclilly closed 7 years ago

rclilly commented 7 years ago

Not sure who is working on this now that Kailey's gone, but I just installed this on the xylemappliedwater.com network and whenever I use it I get:

PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/wordpress/dev/wp-content/plugins/wp-vulnerability-scanner/wp-vulnerability-scanner.php on line 415
Warning: Invalid argument supplied for foreach() in /var/www/html/wordpress/dev/wp-content/plugins/wp-vulnerability-scanner/wp-vulnerability-scanner.php on line 415
Ritesh-patel commented 7 years ago

Hi @rclilly

Thanks for pointing out this issue, it has been fixed in c1b9dd2ca80dddfdc6e254c191f2123119869990.