My server is reporting a bunch of constantly possible code issues. They are repeating, but the four separate issues appear to be:
[28-May-2019 03:48:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home5/rfl1973/public_html/wp-content/plugins/my-movie-database/mmdb_templates/partials/movie/movie-cast.php on line 11 [28-May-2019 03:48:22 UTC] PHP Warning: usort() expects parameter 1 to be array, null given in /home5/rfl1973/public_html/wp-content/plugins/my-movie-database/includes/tmdb_api/controller/classes/data/Movie.php on line 244 [28-May-2019 03:48:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home5/rfl1973/public_html/wp-content/plugins/my-movie-database/includes/mmdb_views_helper.php on line 42 [27-May-2019 22:25:19 UTC] PHP Warning: Invalid argument supplied for foreach() in /home5/rfl1973/public_html/wp-content/plugins/my-movie-database/mmdb_templates/partials/movie/movie-main.php on line 33
I’m running plugin 1.2.1 and my server is running PHP 7.2.5, WP 5.2.1
But perhaps more alarming is that the above errors are being reported as follows:
I’m assuming the plugin does a crawl through the site on some period?
- The topic ‘a few code bugs?’ is closed to new replies.