Home › Forums › Ticket Products › Event Tickets Plus › Can't deactivate Woocommerce tickets to upgrade to Events Tickets Pro
- This topic has 13 replies, 2 voices, and was last updated 10 years, 4 months ago by
George.
-
AuthorPosts
-
December 10, 2015 at 12:45 pm #1039099
Mary
ParticipantOur license expired for the legacy Woocommerce Tickets plugin, so we decided to upgrade to Events Tickets pro and purchased a license yesterday. However, every time I try to disable the Woocommerce Tickets plugin, my site crashes, and I have to restore the site from a backup. I am not the admin who built this site and am not extremely well versed in WordPress, so deep tech knowledge of WordPress is not my strong suit. This also happens if I try to deactivate Event Calendar (not Event Calendar Pro).
December 10, 2015 at 1:52 pm #1039152George
ParticipantHey @Anthony,
I’m sorry to hear this!
You should be able to install and activate Event Tickets and Event Tickets Plus first without deactivating WooCommerce Tickets. (Event Tickets Plus requires Event Tickets to be installed too – grab there: wordpress.org/plugins/event-tickets/)
Once Event Tickets and Event Tickets Plus are both installed, try activating both of them.
In either case, try deactivating WooCommerce Tickets again once these other plugins are installed.
If the site crashes again after deactivating WooCommerce Tickets, then please let us know if there is a specific error message that appears on the screen at any point during the crash – if so, copy and paste this message in full, and share it here.
Let us know what you find by doing this!
Thank you,
GeorgeDecember 11, 2015 at 7:33 am #1039636Mary
ParticipantI tried what you advised this morning. When I activated Events Tickets I got the following error:
Server error
500
The website encountered an error while retrieving http://www.saltydinnertheater.com/wp-admin/plugins.php?action=activate&plugin=event-tickets%2Fevent-tickets.php&plugin_status=all&paged=1&s&_wpnonce=cac074bdba. It may be down for maintenance or configured incorrectly.
This was with version 4.0.1 of Events Tickets. This did not completely crash the website. It just wouldn’t activate this plugin. I can activate Events Tickets Pro, but when I try to deactivate the Woocommerce Tickets plugin, it crashes the website with the following error:
Server error
500
The website encountered an error while retrieving http://www.saltydinnertheater.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1&s=. It may be down for maintenance or configured incorrectly.
When this happens, I have to set the theme to default and deactivate all plugins and restore from a backup.
I do worry that the theme we have (The Restaurant by Red Factory) is not compatible with WordPress 4.4, but I don’t understand why this would cause problems with deactivating the Events Calendar – WooCommerce Tickets plugin.
Any help you can offer would be wonderful.
Tony
December 11, 2015 at 11:29 am #1039765George
ParticipantHey Tony,
I’m sorry to hear this!
Can you see if errors pop up on your site if you head to your site’s wp-config.php file and change this line of code:
define('WP_DEBUG', false);to this:
define('WP_DEBUG', true);That will display PHP errors if any exist, which might be quite useful here.
—
Once you’ve made this change, see if there are errors just on the site at all. If so, share them.
Then, try deactivating WooCommerce Tickets and see if errors pop up other than the normal “Server Error – 500”, and if so share them.
I’m sorry to keep recommending things to reveal errors; but I cannot reproduce the problem, and so trying to figure out the exact cause of this is crucial! I’m sorry about the trouble caused by all of this; but your patience with it means a lot and I appreciate it.
Let me know what you find by making these changes – if you’re unfamiliar with making the sort of change I recommend here, then unfortunately I would recommend asking your web hosting provider to activate WP_DEBUG on the site and/or to see if they can spot any specific problem that causes the 500 – server error.
Thank you!
GeorgeDecember 11, 2015 at 12:44 pm #1039842Mary
ParticipantAfter enabling the WP_DEBUG to True, and before deactivating WooCommerce tickets, this was the debug text:
Notice: Use of undefined constant widget_simpleimagelink_header – assumed ‘widget_simpleimagelink_header’ in /home1/saltydin/public_html/wp-content/plugins/simple-image-link/simple-image-link.php on line 37
Notice: /home1/saltydin/public_html/wp-content/plugins/the-events-calendar/vendor/tickets/common/src/deprecated/Tribe__Events__Autoloader.php is deprecated since version 4.0! Use Tribe__Autoloader.php instead. in /home1/saltydin/public_html/wp-includes/functions.php on line 3672
Notice: /home1/saltydin/public_html/wp-content/plugins/the-events-calendar/vendor/tickets/src/deprecated/Tribe__Events__Tickets__Tickets.php is deprecated since version 4.0! Use Tribe__Tickets__Tickets instead. in /home1/saltydin/public_html/wp-includes/functions.php on line 3672
Notice: /home1/saltydin/public_html/wp-content/plugins/wootickets/src/deprecated/TribeWooTickets.php is deprecated since version 3.10! Use Tribe__Events__Tickets__Woo__Main instead. in /home1/saltydin/public_html/wp-includes/functions.php on line 3672
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home1/saltydin/public_html/wp-includes/functions.php on line 3619Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home1/saltydin/public_html/wp-includes/functions.php on line 3732
Notice: Undefined index: page in /home1/saltydin/public_html/wp-content/themes/therestaurant/functions.php on line 75
Notice: Undefined variable: theme_name in /home1/saltydin/public_html/wp-content/themes/therestaurant/functions.php on line 75
After deactivating the WooCommerce Tickets plugin, this was what was displayed:
Notice: Use of undefined constant widget_simpleimagelink_header – assumed ‘widget_simpleimagelink_header’ in /home1/saltydin/public_html/wp-content/plugins/simple-image-link/simple-image-link.php on line 37
Fatal error: Class ‘TribeWooTickets’ not found in /home1/saltydin/public_html/wp-content/themes/therestaurant/functions.php on line 8
Notice: Use of undefined constant user_level – assumed ‘user_level’ in /home1/saltydin/public_html/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
I hope this helps to figure out what the problem is. My guess is that something was changed in the theme CSS, but I’m grabbing at straws to sound smart. 🙂
Thanks,
Tony
December 12, 2015 at 11:15 am #1040247George
ParticipantHey Tony,
Thank you for this!
This error is the culprit:
Fatal error: Class ‘TribeWooTickets’ not found in /home1/saltydin/public_html/wp-content/themes/therestaurant/functions.php on line 8This reveals that there is a customization related to WooCommerce Tickets in your theme, and this is breaking things.
We don’t technically offer any support for custom code, but to try and help you solve this, I would recommend copying all of the contents of that functions.php file and pasting the whole contents of the file into a Gist at http://gist.github.com
Then, share a link to that Gist – I will try to identify the specific code problem in the file, and recommend a fix for it.
Thank you!
GeorgeDecember 14, 2015 at 8:36 am #1040917Mary
ParticipantThank you for your help. Here is the link to the gist:
https://gist.github.com/anthporter/0a1451bb30609cf6a1ea
Thanks,
Tony
December 14, 2015 at 12:42 pm #1041130George
ParticipantThanks Tony!
In both cases in that file where you see this:
TribeWooTickets::get_instance()I would recommend changing that to this:
Tribe__Tickets__Tickets::get_instance()How do things behave after doing this? NOTE: This will require the new Event Tickets plugin to be active.
December 14, 2015 at 2:51 pm #1041212Mary
ParticipantI made the change to the Functions.php file for the theme, and then I try to activate the Event Tickets plugin and I get this error:
Fatal error: Class ‘Tribe__Tickets__Tickets’ not found in /home1/saltydin/public_html/wp-content/themes/therestaurant/functions.php on line 8
This is after I’ve updated and saved the changes.
Tony
December 15, 2015 at 8:06 am #1041718George
ParticipantDo you have Event Tickets and Event Tickets Plus both installed and activated on your site?
If not, then undo the theme change for now and leave WooCommerce Tickets up active.
Then, install Event Tickets and Event Tickets Plus on your site. Activate both. Then try these steps again and see if things improve.
Thank you for your patience with this,
GeorgeDecember 15, 2015 at 8:15 am #1041726Mary
ParticipantI do have them both installed. I am unable to activate Event Tickets, because I get that error I posted last. I can activate Event tickets Plus without problems, but not Event Tickets. Very strange. I realize that I may be getting way beyond your abilities to help because it’s just too outside your support model. I took over the support of this website from the site designer. I have no idea the specializations he included and don’t even know where to start to try to unravel this. It makes no sense to me why this is not working.
Sorry, I appreciate the help you are giving me, and you have been wonderful to try so much. I just worry that this is beyond your “pay grade” and ability to support under what your support model allows. I work in customer support, so I understand there are limits. I’m just a little frustrated at this point with my own limited knowledge.
Thanks,
Tony
December 15, 2015 at 9:37 am #1041776George
ParticipantI’m sorry that these issues are all still happening Tony – at this point, I would recommend removing those two lines of code in the theme functions.php file.
Then, remove WooCommerce Tickets off of your site, and activate Event Tickets and Event Tickets Plus.
Then contact your theme developer, or whoever else implemented that custom code, and seek further assistance from them on how to re-implement the customization there.
This should be helpful – thank you for your patience and persistence with this!
Sincerely,
GeorgeDecember 15, 2015 at 10:42 am #1041823Mary
ParticipantThat took care of the problem! I have not idea what those two lines of code did, as I don’t see anything different on the site, but I will check with the designer. Thanks for all your help!
December 15, 2015 at 10:47 am #1041831George
ParticipantNice! Glad to hear this, @Anthony.
I’m really sorry about how long it took to get here, but am glad that things work now.
What those two lines of code did, it seems to me, was move the ticket form somewhere else on the page, although it is pretty outdated code so it might not be necessary at all for your site anymore…
In either case: best of luck with your project! 🙂
Cheers,
George -
AuthorPosts
- The topic ‘Can't deactivate Woocommerce tickets to upgrade to Events Tickets Pro’ is closed to new replies.
