Support

Home Forums Event Espresso Premium How to hide past events on the My Events shortcode Reply To: How to hide past events on the My Events shortcode

Reply To: How to hide past events on the My Events shortcode

Author Replies
SupercarDriver # Posted on May 15, 2018 at 7:39 am

Hi, After adding this on I got the following:

Fatal error: Uncaught Error: Call to a member function get() on boolean in /home/adamt364/public_html/membersfiles/wp-content/themes/blankslate/loop-espresso_my_events-event_section.template.php:47 Stack trace: #0 /home/adamt364/public_html/membersfiles/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(384): include() #1 /home/adamt364/public_html/membersfiles/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(296): EEH_Template::display_template('/home/adamt364/...', Array, true) #2 /home/adamt364/public_html/membersfiles/wp-content/plugins/eea-wp-user-integration/domain/entities/shortcodes/EspressoMyEvents.php(270): EEH_Template::locate_template('loop-espresso_m...', Array) #3 /home/adamt364/public_html/membersfiles/wp-content/plugins/eea-wp-user-integration/domain/entities/shortcodes/EspressoMyEvents.php(194): EventEspresso\WpUser\domain\entities\shortcodes\EspressoMyEvents->loadTemplate(Array) #4 /home/adamt364/public_html/membersfiles/wp-content/plugins/event in /home/adamt364/public_html/membersfiles/wp-content/themes/blankslate/loop-espresso_my_events-event_section.template.php on line 47

Which is:

$start = $datetime->get('DTT_EVT_start');

Do NOT follow this link or you will be banned from the site!