I am updating the Tickets Plus plugin, and as soon as I do I receive the following error:
PHP Fatal error: Access level to Tribe__Tickets_Plus__Tickets::login_required() must be public (as in class Tribe__Tickets__Tickets) in home1/bythebo2/public_html/eola/wp-content/plugins/event-tickets-plus/src/Tribe/Tickets.php on line 133
I am using a custom theme, and I asked the developer and here is the response I got:
Based on that error message, that appears to be a bug in the Tribe Tickets Plus plugin – they are forming their classes improperly. (For reference, check out https://stackoverflow.com/questions/11183190/access-level-to-certain-class-must-be-public-error-in-php ). From that error log, I can’t tell what the parent class is for that, so I can’t tell you without access to the files what upstream could be triggering that, but I’d definitely suggest reaching out to that plugin author, since that code would be out of your or my control. There definitely isn’t anything in the theme that is doing out of the ordinary lifting, or messing around with global classes.
Now when I switch to the twenty seventeen theme, the new plugin works – so I guess the info I need is: what class needs the permission? How is this fixed? I am happy to give you any access to the site to figure it out. Thanks!
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,
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.