I am getting the following error (and other similar errors) on my site:
PHP Fatal error: Call to undefined function tribe_events_single_event_meta() in /nas/content/live/dailyalts/wp-content/themes/daily-alts/tribe-events/single-event.php on line 59, referer: https://dailyalts.com/
I see in other posts that the “tribe_events_single_event_meta()” code has been deprecated, and the solution is to:
You want to replace: echo tribe_events_single_event_meta();
with this function: tribe_get_template_part( ‘modules/meta’ );
However, my code looks like this in the section that contains the old code:
<!– Event meta –>
<?php do_action( ‘tribe_events_single_event_before_the_meta’ ) ?>
<?php echo tribe_events_single_event_meta() ?>
<?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ?>
</div><!– .hentry .vevent –>
Slightly different in that I don’t have the semi-colon at the end. Do I just leave the semi-colon off? I am assuming this fix is the same one that I need on my site.
Thx.