Re: Previously reported phantom events
-
Hi,
I am using WP Multisite and just upgraded to Events Manager 5.5.2. Our network has 80 sites and about 1000 users so it’s pretty active.
For a while now we have been having issues with what we call phantom events on the subsites. Here is my best description of what has been happening…
A phantom event (or multiple phantom events) shows up in the upcoming events widget and calendar for a subsite. When you click on the event it brings you to an event on a DIFFERENT subsite.
I have been editing the database directly to rid us of these but it is tedious work as you can imagine.
When you look at the events for that blog in the em_events table in the database you will see records with post ids that do not have corresponding records in posts table for that blog (as they should). The reason that this happens I think is that two subsites are trying to create events at that same instant and both of them get the same post id but only one creates an associated record in the posts table. I have looked at the creation times for the phantom event and the event it links to on a different site and they are identical.
Additionally, there are sometimes multiple instances of the same event (same post id but different event ids) in the em_events table for the blog with the phantom event. I think this is caused by the user repeatedly hitting publish when the system is not responding because it gets hung up when it is creating these two events on different blogs at the same instant.
Is there a way that you can make sure that creating an event on one blog completes before another blog is able to grab that post id? That is, that it not only creates the event record in the em_table but the corresponding record in the posts table for that blog before the next event can be created on a different blog?
Thanks,
Kathy
- The topic ‘Re: Previously reported phantom events’ is closed to new replies.