Title: php7:warn
Last modified: December 22, 2021

---

# php7:warn

 *  Resolved [caledoman](https://wordpress.org/support/users/caledoman/)
 * (@caledoman)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php7warn/)
 * please help to correct it
    PHP Warning: Invalid argument supplied for foreach()
   in /var/www/clients/client***/web**/web/wp-content/plugins/wp-crontrol/wp-crontrol.
   php(2094) : eval()’d code on line 778, referer: https:/*******/wp-cron.php?doing_wp_cron
   =1640163022.2025899887084960937500

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php7warn/#post-15189330)
 * This is “eval()’d code” which means it’s coming from the PHP saved in a PHP Cron
   event on your site, not from WP Crontrol itself. You should check all of your
   PHP Cron events to ensure the PHP code is valid.
 *  Thread Starter [caledoman](https://wordpress.org/support/users/caledoman/)
 * (@caledoman)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php7warn/#post-15190150)
 * hello and thanks i will try and come to say the results thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php7:warn’ is closed to new replies.

 * ![](https://ps.w.org/wp-crontrol/assets/icon.svg?rev=3539529)
 * [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crontrol/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crontrol/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crontrol/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crontrol/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crontrol/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [caledoman](https://wordpress.org/support/users/caledoman/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/php7warn/#post-15190150)
 * Status: resolved