Which version of Events Manager and WordPress are you using?
Thread Starter
ixray
(@ixray)
The latest public versions of both Events Manager and WordPress.
Something seems to delete the dbem_events_page_search_form entry with every page refresh. If I add an entry named dbem_events_list_search_form (or anything else, really) and modify em-events.php accordingly it works like a charm. Of course, modifying EM’s core files is a bad solution.
As a work around for now I am adding the [event_search_form] shortcode to the events page.
Thread Starter
ixray
(@ixray)
Here’s another option field that gets overwritten with the default value on every refresh:
dbem_location_event_single_format
Seeing that other options are saved correctly I don’t really understand what is going wrong here.
just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:
– deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems
Thread Starter
ixray
(@ixray)
After hours of digging in EM’s code I have found the problem:
For whatever reason the dbem_version field in my database was set to “5,55” (with comma) instead of “5.55”. So with each page refresh, em-install.php (which includes various version checks) would write the default values into the database.
Manually setting dbem_version to 5.55 fixed this.