• Resolved theunder

    (@theunder)


    When i add an event and set it to reoccur, the reoccuring options are grayed out. When i save the event, I get the following errors:

    Warning: array_filter() [function.array-filter]: The first argument should be an array in /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php on line 693

    Warning: Cannot modify header information – headers already sent by (output started at /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php:693) in /home/ilovealt/public_html/wp-includes/pluggable.php on line 881

    After hitting the back button I see the following error on the event page: I’m getting an imploade error by the Checkbox to Edit Event.

    Thanks so much for all of your hard work. It’s a great plugin and other than this issue has worked perfectly.

    https://www.ads-software.com/extend/plugins/event-organiser/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The options greying out is intentional. The idea is that if you wish to edit any of the event’s scheduling, you need to check the ‘edit recurrences’ checkbox. This tells the plug-in to re-do the scheduling calculations (generating dates etc). This means if you just update the venue, content or categories etc – the plug-in doesn’t bother to recalculate the dates as they are the same.

    The error messages you mention have been fixed in 1.4.1 (you may need to re-save those events, ensuring the ‘edit recurrences’ checkbox is checked).

    See this thread for more details.

    Thread Starter theunder

    (@theunder)

    I just updated to 1.4.2 and am still receiving the error after publishing a reoccuring event.

    Warning: array_filter() [function.array-filter]: The first argument should be an array in /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php on line 693

    Warning: Cannot modify header information – headers already sent by (output started at /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php:693) in /home/ilovealt/public_html/wp-includes/pluggable.php on line 881

    When i go back and view the newly created event. There is an error message in the admin:

    Warning: implode() [function.implode]: Invalid arguments passed in /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php on line 126

    Then I can selct the checkbox and edit event details, but when updating the page i recieve these errors:

    Warning: implode() [function.implode]: Invalid arguments passed in /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php on line 126

    Warning: implode() [function.implode]: Invalid arguments passed in /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php on line 126

    Warning: Cannot modify header information – headers already sent by (output started at /home/ilovealt/public_html/wp-content/plugins/event-organiser/classes/class-eo-event.php:126) in /home/ilovealt/public_html/wp-includes/pluggable.php on line 881

    The first occurance of the event is added to the event listing and 1st date on the calendar, but does not reoccur.

    Any ideas?

    This works for me…

    What happens when you create a new event? Do any of the error messages appear then?

    The first error message is to do with expecting an array (an array of days on which to repeat – i.e. the weekly reoccurrence). Because its not receiving an array is throws an error. Which means a (serialised) array is not saved to the database. When you go to view the event again, its expecting array but is not finding one – causing the second error message.

    However – if you’ve updated to 1.4.2 – creating a new event shouldn’t give you an error which means the first (and therefore second) error messages do not appear.

    In my tests – re-saving the event ensured an array was saved to the database, and so solved the problem. You could try saving it as a ‘one time event’ and then re-saving it as a weekly event. Or delete the event and create a new one (new events shouldn’t now show an error – and in my tests they don’t).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Event Organiser] Reoccuring Event Bug’ is closed to new replies.