Title: PHP Warning
Last modified: March 2, 2022

---

# PHP Warning

 *  ResolvedModerator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-345/)
 * Hi,
 * I see hundreds of lines of the following error in my error logs:
 * PHP Warning: Invalid argument supplied for foreach() in /home/XXX/public_html/
   blog/wp-content/plugins/surge/include/serve.php on line 76
 * What might be causing this? Thanks.

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

 *  Plugin Author [Konstantin Kovshenin](https://wordpress.org/support/users/kovshenin/)
 * (@kovshenin)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-345/#post-15421693)
 * Hey there, thanks for reporting the warning! I’ve documented it in our GitHub
   repository here:
 * [https://github.com/kovshenin/surge/issues/15](https://github.com/kovshenin/surge/issues/15)
 * Should be fixed in the next release!
 *  Plugin Author [Konstantin Kovshenin](https://wordpress.org/support/users/kovshenin/)
 * (@kovshenin)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-345/#post-15570421)
 * These should be fixed in 1.0.4.

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

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/surge/assets/icon-256x256.jpg?rev=2639176)
 * [Surge](https://wordpress.org/plugins/surge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/surge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/surge/)
 * [Active Topics](https://wordpress.org/support/plugin/surge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/surge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/surge/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Konstantin Kovshenin](https://wordpress.org/support/users/kovshenin/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-345/#post-15570421)
 * Status: resolved