Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #59779
    Anonymous
    Inactive

    Hey Franky,

    I’ve got something going wrong on my site (fallsbaptist.org, at the bottom). We just updated the site to PHP 5.6 and now some of our calendars are acting strange. The calendar isn’t pulling all events meeting the criteria from my [events_list], only ones that are recurring. They were working properly before the update, but not after. Any ideas where to start?

    #59781
    Anonymous
    Inactive

    Hmmm, I created a new event meeting the criteria and it displayed as expected…

    #59782
    Anonymous
    Inactive

    It appears that if the event appears before (chronologically) a recurrent event, it displays fine, but if it appears after it, it does not display. I’m guessing it is a bug with the show_recurrent_events_once attribute.

    #59783
    Franky
    Keymaster

    First: 5.6 is very old too (and already end of life), you should consider going to 7.2 or 7.3
    Concering the show_recurrent_events_once: I’m guessing you’re hitting the limit of the sql statemnt I can provide. First, from the changelog:

    * Fix a show_recurrent_events_once sql bug (in fact not a bug, but indeterministic result) due to newer mysql/mariadb versions

    This fix resulted in that I needed to get all recurrent events as if standalone ones, and doing the “limit” later on (which is what you are probably bumping into: increasing the limit will solve your problem). Another option you could consider is using period-based showing of events (like the next 2 weeks or so), which doesn’t bump into this limit-thing.

    #59784
    Franky
    Keymaster

    Btw, this changeset should also fix this once and for all:
    https://plugins.trac.wordpress.org/changeset/2054299/

    (maybe just download the raw version of the changed eme_events.php and replace yours with this one)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top