This problem wasn’t before, after an update with elementor and EE this error appears.
It has to do with this line in EEW_Upcoming_Events.widget.php:
echo espresso_event_date_range($date_format, $time_format, $single_date_format, $single_time_format);
When this is active, it is not possible anymore to edit the page and when error logging is on I can see it’s this line what’s the problem. The only solution until now is to exclude this syntax will solve the problem.
Is there an other solution for this and is this familiair to EE?
This problem only appears at the back end in the Elementor editor, not on the front end.
We are aware of this issue and have created a ticket for our developers to investigate, in short EE only loads its files/functions on the requests that use them, the function above is included in the template_tags.phpwhich was expected to be used on the frontend, so it doesn’t load on page builders.
I’ve added this thread to that ticket.
As a workaround for the time being you can use a snippet to include the file that holds the function referenced in the above error when using elementor, something like this:
Thanks for the help! I will look for it and use the temporary snippet!
Viewing 2 reply threads
The support post ‘Editing in Elementor gets un error: Uncaught Error: Call to undefined function’ 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.