Home › Forums › Ticket Products › Event Tickets Plus › Update to 3.4 crashes my site.
- This topic has 7 replies, 4 voices, and was last updated 12 years, 2 months ago by
Kelly.
-
AuthorPosts
-
January 26, 2014 at 9:13 am #97058
eastportphotography
ParticipantWhen 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?
January 27, 2014 at 11:08 am #97382Barry
MemberBased 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?
January 27, 2014 at 1:06 pm #97410eastportphotography
ParticipantHere 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’));January 27, 2014 at 1:11 pm #97412eastportphotography
ParticipantThis reply is private.
January 28, 2014 at 7:37 am #97710Barry
MemberThis reply is private.
January 31, 2014 at 7:59 pm #99530metrosonic
Participant1. 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.
January 31, 2014 at 9:11 pm #99544eastportphotography
ParticipantWhat 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.
February 3, 2014 at 6:53 am #99936Kelly
ParticipantThat’s great news, eastportphotography! Thanks so much for letting us know!
-
AuthorPosts
- The topic ‘Update to 3.4 crashes my site.’ is closed to new replies.
