Home › Forums › Ticket Products › Event Tickets Plus › De-activating Woo Commerce Tickets crashed my site
- This topic has 2 replies, 3 voices, and was last updated 8 years, 2 months ago by Support Droid.
-
AuthorPosts
-
December 9, 2015 at 11:31 am #1038388restoreoregonParticipant
I followed the directions for upgrading to the new ticketing, but when I de-activated WooCommerce Tickets, the entire site crashed. My hosting company found the following error message:
PHP Fatal error: Class ‘TribeWooTickets’ not found in /home3/restorp4/public_html/wp-content/themes/canvas-child/functions.php
I realize that Canvas is now an older theme, but a LOT of work went into that child theme and we’re not ready to do a complete overhaul. How do I upgrade without crashing my site?
December 10, 2015 at 5:30 am #1038644GeorgeParticipantHey @restoreoregon,
I’m sorry for the trouble here đ It looks like there are two things at play:
1. You were using outdated versions of The Events Calendar’s add-ons, and perhaps The Events Calendar itself.
2. You have customizations in your child theme that reference old code which is no longer around, hence that error there…
So the first order of business, it seems, would be to temporarily deactivate your custom child theme, just so that you can use the site normally. Once this is the case, update The Events Calendar to 4.0 and then install and activate these plugins too:
⢠Event Tickets 4.0
⢠Event Tickets Plus 4.0If you have Events Calendar Pro installed on your site, then update that to 4.0 too.
Now try activating the child theme. That fatal error should show up.
I understand how much work you must have put into your child theme, but the good news here is that all of this work does NOT have to be tossed. What likely needs to be done here is simply an updating of class names. So let’s look at that original error:
PHP Fatal error: Class âTribeWooTicketsâ not found in /home3/restorp4/public_html/wp-content/themes/canvas-child/functions.phpFor this error, head into your child theme’s functions.php file as directed by that error. Find where the class name TrbeWooTickets is being used, and replace it with Tribe__Tickets__Tickets
Save the changes and replace the old functions.php file with this new functions.php
See if the error persists.
If the error still shows in some form, or the functionality of the theme is broken, you can try replacing
Tribe__Tickets__Tickets with Tribe__Tickets_Plus__Main—
The general principle here can then be repeated for each subsequent error that arises, until things are error-free.
I hope this information helps!
Sincerely,
GeorgeFebruary 18, 2016 at 8:32 am #1076067Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘De-activating Woo Commerce Tickets crashed my site’ is closed to new replies.