Support » Plugin: Event Tickets » Tribe Events Single Event After Meta

  • I updated to 4.9.1 and it crashed my site. I had to delete the folder on the server for my site to work again.

    I ran debug and I found in my functions file that code I was using which worked previously is now causing a problem.

    Here is what I was using:

    if (class_exists('Tribe__Tickets__RSVP')) {
      remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form'), 5 );
      add_action( 'tribe_events_single_event_before_the_content', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form'), 5 );
    }

    Is there a replacement for this that works?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jennifer

    (@jentheo)

    Hello,

    I’m sorry that you’re running into this issue!

    I just tested this out on my end, and that code isn’t causing problems in my local environment. However, you can move the position of the ticket RSVP form above the content in the settings (without code): Events > Settings > Tickets > Location of RSVP form. Can you give this a try and let us know if it works for you?

    Thanks,

    Jennifer

Viewing 1 replies (of 1 total)
  • The topic ‘Tribe Events Single Event After Meta’ is closed to new replies.