Fatal Error after updating WooTickets

Home Forums Ticket Products Event Tickets Plus Fatal Error after updating WooTickets

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #942365
    tacdynamics
    Participant

    I had added code to move the location of the ticket add form on my event pages and now after updating WooTickets I get this:

    Fatal error: Class ‘TribeWooTickets’ not found in /home2/tacdyn/public_html/wp-content/themes/thunder/functions.php on line 261

    As such I cannot even log in to the back end of my site. Any thoughts?

    Rob

    #942374
    tacdynamics
    Participant

    Managed to get back in by deactivating the theme via the host.

    #942465
    Geoff
    Member

    Hi there Rober! Sorry about the issue. I can help you get back on track.

    If you were using this snippet to move the location of the ticket form, you can prevent the issue from happening again by wrapping it in the following:

    if(class_exists('TribeWooTickets')) {
    // rest of the snippet
    }

    That should clean things up a bit so the error doesn’t happen again. 🙂

    Does this help answer your question? Please let me know.

    Cheers!
    Geoff

    #942570
    tacdynamics
    Participant

    problem solved! Thanks!

    #942698
    Geoff
    Member

    Awesome, I’m glad that helped! Thanks for following up and confirming. 🙂

    I’ll go ahead and close this thread, but please feel free to start a new one of anything else comes up and we’d be happy to help.

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error after updating WooTickets’ is closed to new replies.