Home › Forums › Calendar Products › Events Calendar PRO › PHP Warning: Invalid argument supplied for foreach()
- This topic has 0 replies, 3 voices, and was last updated 6 years, 1 month ago by Hans-Gerd.
-
AuthorPosts
-
March 14, 2018 at 2:44 pm #1479512BrendanKeymaster
Hi Hans-Gerd,
I checked with Andras and neither of us know how you would find this. Do you know if you has special conditions in a cron job? What message are your receiving at this point?
Thanks,
BrendanMarch 15, 2018 at 1:06 am #1479750Hans-GerdParticipantHi Brendan,
thanks for answer,Do you know if you has special conditions in a cron job? What message are your receiving at this point?
I didn’t change anything, so I would think, there are no special conditions.
What message are your receiving at this point?
See attached mail as private reply.
Cheers,
Hans-GerdMarch 15, 2018 at 1:07 am #1479752Hans-GerdParticipantThis reply is private.
March 15, 2018 at 1:10 am #1479756Hans-GerdParticipantThis reply is private.
- This reply was modified 6 years, 2 months ago by Hans-Gerd.
March 15, 2018 at 2:58 pm #1480637BrendanKeymasterThis reply is private.
March 17, 2018 at 2:37 am #1481910Hans-GerdParticipantHi Brendan,
may it is a solution, what Tim proposed, see here:
https://theeventscalendar.com/support/forums/topic/php-warning/#post-1476280Seems you might need to add a line to the function to check that the argument is actually an array before passing it to foreach?? ?
PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Meta.php on line 1101As far as I know it doesn’t cause a problem on the site front end, so I will mark this as resolved.
Thanks for advice
Cheers,
Hans-GerdMarch 19, 2018 at 10:35 am #1483151BrendanKeymasterAwesome! Thx for posting the solution Hans-Gerd
Cheers,
BrendanApril 10, 2018 at 9:35 am #1503164Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘PHP Warning: Invalid argument supplied for foreach()’ is closed to new replies.