updating Plug in "causes:" website to crash
I updated the plug and my website crashed and I received this error.
Fatal error: Access level to Tribe__Tickets_Plus__Tickets::login_required() must be public (as in class Tribe__Tickets__Tickets) in /www/wp-content/plugins/event-tickets-plus/src/Tribe/Tickets.php on line 133
. So I have deactivated the plug please help me resolve this problem so that I can continue using the Event Ticket Plus plug in.
Hi, Beth. Sorry you’re experiencing this.
There is no Line 133 in the latest version of /wp-content/plugins/event-tickets-plus/src/Tribe/Tickets.php (I’m unsure about previous versions).
There might be some new updates available. Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?
- Downloads / Version Numbers
- License Keys
- TEC Automatic Updates
- or TEC Manual Updates
- WordPress core updates
Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.
Whenever troubleshooting, it’s best to edit your wp-config.php file to enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and share any debug messages you see while trying to replicate this issue and doing other things on your site relevant to this ticket (such as visiting your site’s home page, events page, single-event pages, and anything else you can think to do).
If there’s nothing obvious (such as a console error or WP_DEBUG message) pointing you to what might be the problem, please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.
Note that https://wordpress.org/plugins/plugin-detective/ may prove helpful as well. (third-party, not guaranteed or supported by us)
Of course, we always recommend restorable database and file backups as well as performing modifications first on a staging site before modifying anything on your live/production site.
If you still need assistance with this, please share your System Information (while in Testing for Conflicts Mode) in a Private Reply.
That will give me a lot of extra information to help troubleshoot this.
Let us know what you find out.
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team
Reaching out to let you know a fix for this issue has been released as part of Event Tickets 126.96.36.199. The fix will prevent the fatal error and enforces Event Tickets Plus to be updated to use both plugins. A manual update might be required in some cases.
Please let us know if updating Event Tickets and Event Tickets Plus to the latest versions works for you,
Thanks for the patience while we fixed this bug.