Support

Home Forums Event Espresso Premium [ESPRESSO_MY_EVENTS} Error

[ESPRESSO_MY_EVENTS} Error

Posted: August 10, 2018 at 9:39 pm


Maceo

August 10, 2018 at 9:39 pm

Hello:

My site is getting the below error when accessing the page with the [ESPRESSO_MY_EVENTS] shortcode. Any ideas on how to resolve? Thanks in advance.

Fatal error: Uncaught Error: Class ‘EES_Espresso_My_Events’ not found in /home/[site]/public_html/wp-content/themes/[theme]/loop-espresso_my_events-event_section.template.php:19 Stack trace: #0 /home/[site]/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(386): include() #1 /home/[site]/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(298): EEH_Template::display_template(‘/home/[site]/…’, Array, true) #2 /home/[site]/public_html/wp-content/plugins/eea-wp-user-integration/domain/entities/shortcodes/EspressoMyEvents.php(270): EEH_Template::locate_template(‘loop-espresso_m…’, Array) #3 /home/[site]/public_html/wp-content/plugins/eea-wp-user-integration/domain/entities/shortcodes/EspressoMyEvents.php(194): EventEspresso\WpUser\domain\entities\shortcodes\EspressoMyEvents->loadTemplate(Array) #4 /home/[site]/public_html/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php(111): EventEspres in /home/[site]/public_html/wp-content/themes/[theme]/loop-espresso_my_events-event_section.template.php on line 19


Tony

  • Support Staff

August 11, 2018 at 1:09 pm

Hi there,

Your using templates from an older version of the EE4 User integration add-on in your theme and those templates need an update to work correctly.

Go to /home/[site]/public_html/wp-content/themes/[theme]/loop-espresso_my_events-event_section.template.php:19

You’ll find:
$url = EES_Espresso_My_Events::get_current_page();

Change that to:
$url = EEH_URL::current_url();

That should fix the above error for you.


Maceo

August 11, 2018 at 5:44 pm

Thanks! 🙂

The support post ‘[ESPRESSO_MY_EVENTS} Error’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Maceo 4 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!