Support

Home Forums Recurring Events Manager Add-on Can't add recurring event (Error: Invalid argument supplied for foreach())

Can't add recurring event (Error: Invalid argument supplied for foreach())

Posted: September 15, 2013 at 10:24 pm


studiomedia

September 15, 2013 at 10:24 pm

Hi,
Each time I try to add a recurring event I get the following error:
Warning: Invalid argument supplied for foreach() in ….wp-contentpluginsevent-espressoincludesevent-managementinsert_event.php on line 560

Only for recurring events. Any ideas?


studiomedia

September 15, 2013 at 10:26 pm

Thought I should also mention:
Event Espresso Version 3.1.35.P
Recurring Events Version 1.1.7.1


Tony

  • Support Staff

September 16, 2013 at 2:04 am

Hi,

When creating the events are you using the date format YYYY-MM-DD?


studiomedia

September 16, 2013 at 6:15 pm

Hi,
Yes. But there is a calendar pop up where I choose the dates from so it enters that format in automatically anyway (YYYY-MM-DD). Any ideas?


Josh

  • Support Staff

September 17, 2013 at 1:03 pm

Hi there,

How many recurring events are set to be added in this case?


studiomedia

September 17, 2013 at 5:30 pm

It is an event that runs for 2 days (weekend) and recurs every 3 weeks.


studiomedia

September 17, 2013 at 6:25 pm

Looks like I have solved the issue. I think it had to do with the end date and registration dates. But I am not sure. It was originally going to be every 3 weeks, now it is monthly. So not sure if thats why its now worked. But it appears to be fine now.

The support post ‘Can't add recurring event (Error: Invalid argument supplied for foreach())’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso