Category Loading Issue – Conflict with Sage Starter Theme
-
There is a conflict with the way that the Events Manager plugin tries to get the template for showing event category archives with themes that don’t have standard structures such as the Sage Starter theme. See a post about it here: https://discourse.roots.io/t/sage-9-0-9-conflict-with-events-manager-plugin-causing-white-screen/25249
When trying to load an Event Category archive page, it will just load for a very long time before eventually giving a memory exhausted Fatal Error. There is a simple fix for the issue:
In the Events Manager plugin (line 82 of /classes/em-taxonomy-frontend.php)?change this line:$template = locate_template(array('page.php','index.php'),false); //category becomes a page
To this:
$template = locate_template(array(get_template_directory().'/page.php',get_template_directory().'/index.php'),false);
Hopefully this fix can be implemented in an upcoming version of the plugin, thanks!
- The topic ‘Category Loading Issue – Conflict with Sage Starter Theme’ is closed to new replies.