Update to 3.4 crashes my site.

Home Forums Ticket Products Event Tickets Plus Update to 3.4 crashes my site.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #97058
    eastportphotography
    Participant

    When I installed the 3.4 update for The Events Calender it crashed my site and it took several hours to get the site reverted back to the previous state. When I checked the error logs, I found the problem may have been caused by this error: Fatal error: Class ‘TribeWooTickets’ not found in /nas/wp/www/staging/eastportphoto/wp-content/themes/simplemag/functions.php on line 262.

    Any suggestions on how to correct this?

    #97382
    Barry
    Member

    Hi @eastportphotography,

    Based on that error message it sounds like you have some custom code in your theme’s functions.php file that relates to WooCommerce Tickets. That being the case, you could potentially hit a problem like this if for instance it tries to access WooCommerce Tickets code – but that code is unavailable, such as if the plugin has been deactivated (which effectively may happen momentarily during an update).

    Is that a possibility here?

    #97410
    eastportphotography
    Participant

    Here is the code in the functions.php file:

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

    #97412
    eastportphotography
    Participant

    This reply is private.

    #97710
    Barry
    Member

    This reply is private.

    #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.

    #99544
    eastportphotography
    Participant

    What I did was remove those lines of code from the functions.php file. Then I updated the plugins (Events Calender and WooCommerce Tickets). Once they were updated I added the lines of custom code back to the function.php file. Everything worked fine after that.

    #99936
    Kelly
    Participant

    That’s great news, eastportphotography! Thanks so much for letting us know!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Update to 3.4 crashes my site.’ is closed to new replies.