I am having a conflict between EE4, Gantry5 and the Hydrogen Theme. On the single event page the ticket selector doesn’t show up. I have the box checked to show it. I saw a couple of posts in the forums that addressed older versions of these that included timber, but it seemed there was no solution. It works correctly with the default wp theme.
I looked into this and the conflict appears to be the result of the way the Gantry plugin replaces the WordPress post object with its own version of a post object.
For example, you can see how the ticket selector will show up if you open up the Hydrogen theme’s single.php file and add this just before the Timber::render() call at the end of the file: $post = get_post($post->ID);
While the above change will make the ticket selector display while using the Hydrogen theme, it’s more of a point in the direction of where something needs to be fixed than a viable solution. Ideally, the Gantry5 plugin should leave the WordPress post object unaltered, and maybe do a copy of the post object for its purposes.
The way forward will be to contact RocketThemes to see if they can allow an unaltered WordPress post object. If not you’ll likely run into other problems on the site.
The support post ‘Conflict between EE4 and Hydrogen Theme’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.