First of reoccurring event creates two records in db.
-
Hello,
I have EM installed and I’ve just started testing it out. When I add a reoccurring event to the calendar I am getting two records added to the “wp_mkwz_em_events” database for the first day in the series.
For example, if I set up a two-week series of events on Tuesdays that start today and are called “yoga” I will have these records:
event_id…. event_slug… event_name… event_start_date
123 yoga yoga 07/28/2015
124 yoga-2015-07-28 yoga 07/28/2015
125 yoga-2015-08-04 yoga 08/04/2015I wrote some code that queries the wp_mkwz_em_events database, selecting and presenting the event details of the events that are happening on whatever day you run the query. So, if I query today I will get the event details for event_id 123 AND event_id 124, even though these are the same event. Is there any way to stop the duplicate events (i.e., event_id 123) from being created?
Thanks in advance.
- The topic ‘First of reoccurring event creates two records in db.’ is closed to new replies.