Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Can't add recurring event (Error: Invalid argument supplied for foreach()) | Event Espresso - Staging Server

Support

Home Forums Recurring Events Manager 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

Viewing 6 reply threads


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


Anonymous

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

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.

Viewing 6 reply threads

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 - Staging Server