Uncaught Error: Class ‘Tribe__Events__Main’ not found

Home Forums Ticket Products Event Tickets Plus Uncaught Error: Class ‘Tribe__Events__Main’ not found

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1163261
    keystoliteracy
    Participant

    Sometime after updating woocommerce and event tickets/event tickets plus to their latest versions today, I started getting this error whenever I attempt to Edit an existing event that has tickets associated with it.

    (I’m able to view the event and it’s tickets fine as an end user – the error is only when I try to edit the event)

    This is occurring for all events that have tickets associated with them. It’s not occurring on any events that don’t have tickets associated with them.

    Here is the stack trace:

    :  Uncaught Error: Class 'Tribe__Events__Main' not found in wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php:3947
    Stack trace:
    #0 wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php(3917): Tribe__Tickets_Plus__Commerce__WooCommerce__Main->should_show_regular_price()
    #1 wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php(2259): Tribe__Tickets_Plus__Commerce__WooCommerce__Main->get_price_value_for(Object(WC_Product_Simple), Object(Tribe__Tickets__Ticket_Object))
    #2 wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php(2041): Tribe__Tickets_Plus__Commerce__WooCommerce__Main->get_ticket('8720', 8722)
    #3 wp-content/plugins/event-tickets/src/Tribe/Tickets.php(1871): Tribe__Tickets_Plus__Commerce__WooCommerce__Main->get_tickets('8720')
    #4 in wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php  on line 3947

    Note the system info below is from my localhost after after reverting to Twenty-Sixteen and disabling the other plugins, am still getting the uncaught error there.

    • This topic was modified 9 years, 7 months ago by keystoliteracy. Reason: clarifying system info
    • This topic was modified 9 years, 7 months ago by Cliff.
    #1163263
    keystoliteracy
    Participant

    Note: I reverted back to 4.2.3 of Event Tickets/Event Tickets Plus (that’s the last version I had a copy of) and I no longer get the error.

    #1163650
    Cliff
    Member

    Abby, thanks for reporting this.

    Our Event Tickets (ET) plugin is expecting our The Events Calendar (TEC) plugin to be installed and active, and this is not right.

    You can install and activate TEC in the meantime while awaiting this fix.

    I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.

    I apologize for this issue and appreciate your understanding and patience.

    #1166035
    keystoliteracy
    Participant

    I don’t want to add an unnecessary plugin that might interfere with our current events functionality.

    Will this thread get updated when this is fixed? And is there an ETA?

    In the meantime, can you tell me which version this was broken in and how I can download the version just before that so I’m as up to date as possible? Thanks!

    #1166068
    Cliff
    Member

    Abby, I understand. It’s always recommended to test things on a staging or development server first. I’d suggest trying it for now and then removing it once the fix is released. Again, I don’t have an ETA, and this thread should get a reply once the fix does get released to Event Tickets.

    #1282654
    Barry
    Member

    Hi! We believe this problem has since been resolved. If you still experience it, though, please do create a new topic and we’ll be happy to investigate further 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Uncaught Error: Class ‘Tribe__Events__Main’ not found’ is closed to new replies.