• Resolved tabroughton

    (@tabroughton)


    I have come across a bug which is a big issue for me – events_list shortcode is returning deleted instances of a recurring event when the recurring event has been edited after deleting some of the instances.

    I have a number of recurring events that happen during (school) term time but not in holidays. The recurring event was created for the whole year and then I deleted individual event instances for the dates of the holidays.

    This worked as expected.

    However, when I edit the recurring event (eg. change featured image) I wondered if the event would recreate itself. It doesn’t appear to in the admin interface for events instances but when I use events_list shortcode they are there.

    They do not have any content except the title, link and dates of the event – there is no featured image and no customised attributes.

    Current examples https://www.peakyoga.org.uk/iyengar-yoga-classes/?pno=6 (pagination will change with time) Look for “Beginners 10 Week Course” Monday, 18/02/2019 (currently page 6) or “Thursday Intermediate 2 hour class” Thursday, 30/05/2019 (currently page 19).

    I really need some help with this as there is no way to access records in admin to remove them.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Are you using the latest versions of EM? Can you also check that you’re using PHP 7.0 or above? At same time can you try and reset the timezones? Events > Settings > Admin Tools > Reset Time zones.

    Thread Starter tabroughton

    (@tabroughton)

    EM Version 5.9.5
    PHP v 7.0.31
    I have reset the time zones.

    It hasn’t made any difference.

    Replicate:

    1. Create recurring event (eg. every 1 week on monday 10am – 12pm) between 2 dates (say 1st Feb – 1st April
    2. list as single events and delete all instances in march
    3. create a page containing shortcode events_list
    4. edit recurring event (eg. change featured image) and update
    5. deleted events are not listed under single events in admin but they are there in page containing shortcode
    Thread Starter tabroughton

    (@tabroughton)

    @timrv I have found a solution, under the option to reset time zones is also an option to “remove orphaned events”

    As I’d just backed everything up I gave it a go.

    Sure enough it removed 106 events, all events on the site that are meant to be there are still there and the ones that shouldn’t be are gone.

    Maybe others have ran into this before then! ?? So glad that button is there.

    Tom

    Thread Starter tabroughton

    (@tabroughton)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deleted instances of recurring events reappear when using events_list shortcode’ is closed to new replies.