Not really network capable
The Events Manager plugin is currently (2017-03-14) not properly network-aware. This causes trouble in several ways.
Missing database tables
The plugin cannot be activated network wide; it must be activated locally, on each blog.
This is due to the fact that the events and location data is stored not only in the normal WordPress tables, but external tables specifically for Events Manager.
To check whether you have the correct tables, open your database manager and see if the following tables have been created for each blog the plugin is activated on:
- prefix_em_bookings
- prefix_em_events
- prefix_em_locations
- prefix_em_meta
- prefix_em_tickets
- prefix_em_ticket_bookings
If you do not see the above tables, and reactivating the plugin locally doesn’t work, you will need to
- activate Events Manager
- use the uninstall command from the plugin list
- activate again
Note that this will delete all event data from the blog, so ask the Events Manager authors for info on how to export / import your events.
Static database table references
During broadcasting, the blog is switched back and forth.
When the Events Manager plugin is loaded, it saves the current table names (from above). After switching blogs, it still uses the same tables names to save / restore event data.
So if you broadcast from blog 4 to 10, Events Manager will store event data in wp_4_em_events even though the blog has switched to blog #10. This is, of course, incorrect.
I have contacted the authors and offered a patch that makes the Events Manager plugin work properly.
2019-02-21 I have tried again to get the Events Manager developers to fix their table references.
Their static references to tables also makes deleting events and locations dangerous from the parent blog. The solution is to delete events and locations by going to each child blog and manually deleting the items, instead of doing if from the main blog.
How does it work so well for me?
When creating the add-on, I had the Events Manager plugin activated locally, on two blogs that were not blog 1: blogs 64 and 65 to be precise.
The tables were correctly created for both blogs and events and locations were gladly copied over without trouble.
It’s only when people started reporting errors with the plugin activated network wide that I noticed how badly it was written.
Tested with
Version 5.9.5.
The link to:
events-manager.5.6.6.1.patched
Dosn’t word. Is it still available.
Kind Regards
Ole Jensen
The patch can be found here: https://bitbucket.org/!api/2.0/snippets/edward_electric/G5bx7/59248d1ebcfb08fcc4a678ba32c4091f0522d926/files/EM%20Table%20names.patch