PHP Fatal Error

Home Forums Calendar Products Events Calendar PRO PHP Fatal Error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1188862
    Brian
    Participant

    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.

    #1188878
    Brian
    Participant

    I swapped out the code and it appears to be working now.

    #1188887
    Nico
    Member

    Hey Brian,

    Thanks for getting in touch with us! And also thanks for the heads-up informing you could sort this out 🙂

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.