Forum Replies Created
-
AuthorPosts
-
November 21, 2017 at 7:58 am in reply to: Events Calendar Upgrade converts existing events to recurring ones #1388056
Penny
ParticipantAs a matter of interest I did a before and after dump of the database when correcting one event, and the most obviously relevant change was this change to wp_postmeta
250993c250989 < INSERT INTO wp_postmeta VALUES (3436450,18073,'_EventRecurrence','a:15:{s:4:\"type\";s:4:\"None\";s:8:\"end-type\";s:5:\"Never\";s:3:\"end\";s:0:\"\";s:9:\"end-count\";s:1:\"1\";s:11:\"custom-type\";s:5:\"Daily\";s:15:\"custom-interval\";s:0:\"\";s:16:\"custom-type-text\";s:0:\"\";s:21:\"occurrence-count-text\";s:6:\"events\";s:19:\"custom-month-number\";s:5:\"First\";s:16:\"custom-month-day\";s:1:\"1\";s:24:\"custom-year-month-number\";s:1:\"1\";s:21:\"custom-year-month-day\";s:1:\"1\";s:22:\"recurrence-description\";s:0:\"\";s:14:\"EventStartDate\";s:19:\"2018-08-22 08:00:00\";s:12:\"EventEndDate\";s:19:\"2018-08-27 12:00:00\";}'); --- > INSERT INTO wp_postmeta VALUES (3436450,18073,'_EventRecurrence','a:3:{s:5:\"rules\";a:0:{}s:10:\"exclusions\";a:0:{}s:11:\"description\";N;}');Maybe this should have happened as part of the upgrade?
November 20, 2017 at 7:38 am in reply to: Events Calendar Upgrade converts existing events to recurring ones #1387190Penny
ParticipantWe’ve installed the extension, but in the admin screen the “List of events with recurrences” is empty.
I think at this stage it hasn’t created any extra events. However, when you go to edit the event for some other reason, it displays the Time and Date section as if you’ve already pressed the “Schedule multiple events” button. Also at this point Event Tickets thinks it’s a recurring event and displays the “This is a recurring event…” warning in the tickets section.
If you now edit something unrelated and save the event, it’s then that it starts creating the extra recurrences.
There doesn’t seem to be any way of reversing the phantom “Schedule multiple events” action.
—–
Since writing the above, we’ve noticed the little dustbin at the right hand side of the Event Series section. Clicking that, and then the Update button to save the event seems to clear the problem. It looks like thats a work around – go through all the events immediately after upgrading and do this.November 20, 2017 at 3:45 am in reply to: Events Calendar Upgrade converts existing events to recurring ones #1387026Penny
ParticipantHaving restored a copy of the live site to our testing server, the first thing we did was upgrade The Events Calendar 3.11.2 to 4.6.4 and The Events Calendar PRO 3.11.1 to 4.4.19. Immediately afterwards looking at an event with “Edit Event” showed Event Series with Daily selected, and underneath every [1] day.
The tickets section of the event wasn’t displayed because Wootickets had deactivated itself saying it needed the latest version of Events Calendar. We installed and activated Event Tickets 4.6 and Event Tickets Plus 4.6 which then wouldn’t run without upgrading WooCommerce. After upgrading Woocommerce to 3.2.3 the tickets section of the event reappeared (except all the sold tickets now showed as “awaiting review”, but that’s another issue).
We then upgraded the remaining plugins and themes, and WordPress core to 4.8.3.
So it looks pretty conclusive that the conversion of events to be recurring happens when The Events Calendar and The Events Calendar PRO are upgraded.
November 16, 2017 at 7:43 am in reply to: Events Calendar Upgrade converts existing events to recurring ones #1384601Penny
ParticipantThat’s more or less what we did, except for upgrading WordPress first, and WooCommerce being a plugin we updated that at the same time as the others.
We’ll have to restore the original copy of the site to the staging server and go through the upgrade again in the order you suggest. This may take some time, but this time we’ll monitor when the change to the event occurs.
-
AuthorPosts
