breaking event from series – getting error messages – permalink issue?

Home Forums Calendar Products Events Calendar PRO breaking event from series – getting error messages – permalink issue?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1011113
    Tyler
    Participant

    Hi there –

    I click through (on the front end) to an event from a series. From the top admin bar, I Break From Series. This gives me this error message:

    Warning: Invalid argument supplied for foreach() in /home/tylsuc/meditationmount.org/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence_Meta.php on line 1098

    Warning: Invalid argument supplied for foreach() in /home/tylsuc/meditationmount.org/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence_Series_Splitter.php on line 180

    Warning: Cannot modify header information – headers already sent by (output started at /home/tylsuc/meditationmount.org/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence_Meta.php:1098) in /home/tylsuc/meditationmount.org/wp-includes/pluggable.php on line 1207

    But then I go back to calendar view, I see the permalink has changed, I can go to the individual event and edit it.

    The original permalink that causes the break is:
    https://meditationmount.org/event/pilates-body-mind-alignment/2015-11-20/

    then the error message, refreshing the calendar, updated permalink is this:
    https://meditationmount.org/event/pilates-body-mind-alignment-2015-11-20/

    So at least there’s a workaround, but took me quite a while to figure out what’s going on. Thanks for any thoughts you have.

    #1011384
    Nico
    Member

    Howdy Tyler,

    Welcome to our support forums and thanks for reaching out to us. I’ll help you out on this one!

    Regarding the permalink change, that’s the correct behavior when the event is detached from the series the URL becomes a ‘single event’ url, without the ‘/date’ part. What is not right at all, is the error you are seeing 🙁 I’ve just tried this locally and it’s working as expected.

    If you break the recurrence in the back-end, it shows the same error message? Are you getting this error every time you detach an event or does this happens just in some cases?

    Please let me know about the follow-up questions,
    Best,
    Nico

    #1012525
    bizdoktor
    Participant

    Hi!
    Sorry for crashing the party!
    I have a 1.3 GB error log with a lot of the same error:

    [07-Oct-2015 21:04:46 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/dogwhisp/public_html/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence_Meta.php on line 1098

    We did have a huge error and break down this summer when we tried the Auto generated recurrence function.
    But we fixed that and now this started (since 22. sept.)

    The other half of the error_log is: [25-Sep-2015 19:01:14 UTC] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0

    Properly not related and a HOST problem?

    I can’t trace the error to any single event or doing??
    Hope you could? 🙂

    Best regards

    Peter

    #1012779
    Nico
    Member

    Hi Peter,

    Thanks for reaching out to us on this!

    Looks like the first error is clearly related to The Events Calendar but I guess the other error is something I’ve not seen in the past. As you say it’s probably a hosting related thing, Can you ask them about it?

    Can you confirm you are running the latest versions of our plugins? I’m aware a couple of fixes regarding custom recurrence were introduced in the maintenance releases of Events Calendar PRO.

    Please let me know if updating fixes the error message, otherwise I’ll share this with the dev team for them to investigate further,
    Best,
    Nico

    #1013485
    bizdoktor
    Participant

    Hi Nico,

    Yes… Latest version 🙂

    #1013771
    Nico
    Member

    Hi Peter,

    Thanks for confirming this!

    Before logging this as a bug I would like to have more info on the issue and narrow it down a bit. In the original post @Tyler mentioned this was happening when he tried to break an event from the recurrence series in the front-end of the site. In your case, and given the amount of errors you have I guess this is not related to the same behavior.

    Can you see the error in the front-end? If that’s the case does it show up in every recurrent event? Any other pattern you can find here?

    Please let me know about it,
    I’ll ping the dev team on this as well,
    Best,
    Nico

    #1013803
    bizdoktor
    Participant

    Hi Nico,

    Can’t see anything?
    The error only shows up in the log file!
    Not even related to anything the client does?

    #1014297
    Nico
    Member

    Hi Peter,

    Just found this thread reporting the same issue: https://theeventscalendar.com/support/forums/topic/strtotime-error/

    Apparently updating (regenerating) recurring events created prior to the 3.12 update fixed the issue for the other user reporting it. Is it possible for you to try that? I’m not sure how many recurring events are there in your site.

    Also a maintenance release is coming out later this week, it addresses a couple of more recurrence related issues. Not sure this will solve your issue but I would like you to update and then re-test this.

    Thanks for your patience on this,
    Best,
    Nico

    #1019292
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘breaking event from series – getting error messages – permalink issue?’ is closed to new replies.