metrosonic

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • metrosonic
    Participant

    Turns out that code I added to functions.php was tripping up the WooTickets update. The code I added moves the Event purchase form to the top of the Event page.

    Solution: I commented-out the following code (that moves the purchase form to the top of the Event content area) from my functions.php file:

    remove_action( ‘tribe_events_single_event_after_the_meta’, array( TribeWooTickets::get_instance(), ‘front_end_tickets_form’), 5 );
    add_action( ‘tribe_events_single_event_before_the_content’, array( TribeWooTickets::get_instance(), ‘front_end_tickets_form’) );

    After commenting-out the above code, the whole site came back up just fine. Then I UN-commented-out the above code, so I could still have the purchase form above the content area of the Event.

    It’s cool code, from: https://theeventscalendar.com/support/forums/topic/moving-the-ticket-form-to-the-top-of-the-events-page/

    in reply to: Update to 3.4 crashes my site. #99530
    metrosonic
    Participant

    1. I have the exact same error after updating WooTickets to v3.4 (the entire site went blank).
    2. And I have the exact same custom code in my functions.php file:
    remove_action( ‘tribe_events_single_event_after_the_meta’, array( TribeWooTickets::get_instance(), ‘front_end_tickets_form’), 5 );
    add_action( ‘tribe_events_single_event_before_the_content’, array( TribeWooTickets::get_instance(), ‘front_end_tickets_form’) );

    What is the solution?

    Thanks.

    in reply to: Events Calendar Pro with Wootickets breaks Woocommerce #66751
    metrosonic
    Participant

    Hi Kelly,
    Same here. UN ticking “Include events in main blog loop” in The Events Calendar settings.
    Of course, it’d be great to have events listed along with blog posts.
    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)