Support

Home Forums Event Espresso Premium Event Espresso 4 conflict with Cornerstone page builder in X Theme

Event Espresso 4 conflict with Cornerstone page builder in X Theme

Posted: December 15, 2015 at 2:09 pm

Viewing 3 reply threads


Glen Morrow

December 15, 2015 at 2:09 pm

Hi folks
I’ve recently commenced development on a new site for my work. We have implemented EE4 and use the X Theme which uses the Cornerstone page builder.

There is now an issue with loading pages on my site where Cornerstone loads the elements and gives me spinning icons to show they’re loading but then just goes to an empty/blank page. I checked with X Theme and they say its a conflict with the EE4 plugin. And when I deactivate EE4 the pages load correctly.

How do I resolve this issue? I have the latest versions of X Theme, X child, EE4 and the social and people add ons, and WP (WordPress) is all up to date as of this post.

Any help would be greatly appreciated.

Cheers, Glen


Tony

  • Support Staff

December 16, 2015 at 6:55 am

Hi Glen,

I had a look at your thread over on the X theme forums and then installed X locally to try and reproduce, so far I’ve been unable to. Pages using cornerstone (1.0.11) are loading fine for me.

Can I take at one of your pages within cornerstone to see if I can see why this is happening please?

You can send temporary login details using this form:

https://eventespresso.com/send-login-details/

(To note, I will likely need to enable WP_DEBUG if its not already enabled, so FTP login details would be appreciated if possible)


Tony

  • Support Staff

December 17, 2015 at 2:00 am

Hi Glen,

The problem is being caused when loading the Event Espresso Upcoming Events widget.

More specifically it’s the function being used to call the list of dates within the widget. The function is loaded within a separate file that EE loads once all of the core EE functions have been loaded, when working with cornerstone the file is not being loaded and so when the widget tries to output the dates using a function that doesn’t exist yet, this happens:

Fatal error: Call to undefined function espresso_list_of_event_dates() in /wp-content/plugins/event-espresso-core-reg/widgets/upcoming_events/EEW_Upcoming_Events.widget.php on line 361

And the fatal error prevents the page from loading.

As a temporary work around I’ve set the upcoming events widget to not display the dates (Appearance -> Widgets -> Event Espresso Upcoming Events -> Show dates is set to No) which allows the pages I’ve tested to load.

I have created a ticket for this requesting some feedback from our developers and will update this thread with any news.


Tony

  • Support Staff

December 17, 2015 at 2:50 am

I did a little further digging into this and it is only caused when using a widget area cornerstone element.

The same widget area loading within the sidebar works fine on the same page, shown here – http://take.ms/jAPMg

That’s a default template, sidebar right. With the EE widget loading within that sidebar. Then within Cornerstone I’ve created a widget area and loaded the main sidebar within that.

I did the same thing with visual composer (although it works differently) and didn’t run into the same problem – http://take.ms/TM3wp

So it looks like this is an issue with how Cornerstone is loading the widget area and may need to be fixed by them. I’ve added these details to the ticket created above.

Viewing 3 reply threads

The support post ‘Event Espresso 4 conflict with Cornerstone page builder in X 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.

Event Espresso