• Resolved pmpanya

    (@pmpanya)


    Hi, every one my name is Panya I downloaded and installed The Events Calendar plugin,
    I am very happy when I use it.
    But I have 1 problem.
    It have error in even detail page.
    It notice “Fatal error: Call to undefined function tribe_events_single_event_meta() in /Applications/AMPPS/www/new/wp-content/themes/church-event/tribe-events/single-event.php on line 41”

    What can I do?

    Thank you very much.
    Pm.Panya, Rayong, Thailand

    https://wordpress.org/plugins/the-events-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • wordpressinthailand

    (@wordpressinthailand)

    Hello, I am in Thailand also, are you beginner ? What kind of website you want to do ? Thanks.

    Plugin Contributor Brian

    (@brianjessee)

    Hi,

    Sorry for the issues on this.

    I can help resolve this. The function giving the fatal error, tribe_events_single_event_meta() was deprecated 20 months ago in 3.6 and removed in 3.11.

    To fix this you need to update your custom template single-events.php in your theme.

    You want to replace:

    echo tribe_events_single_event_meta();

    with this function:

    tribe_get_template_part( 'modules/meta' );

    Let me know if that resolves the issue for you.

    Thanks

    Thread Starter pmpanya

    (@pmpanya)

    I owe you one.
    Thanks a bunch.
    I really appreciate it.

    Pm.Panya, Rayong Thailand

    GeoffBel

    (@geoffbel)

    We are glad we could help.

    Cheers!

    Hello. It does not help your recommendation. He went into the template folder /tribe-events/single-event.php changed in the file on line 42 tribe_get_template_part ( ‘modules / meta’);

    But the error remained.
    Please see screen whether all right I have?

    http://prntscr.com/d4d8nf

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How I fix problem’ is closed to new replies.