• Resolved mindtakerminis

    (@mindtakerminis)


    Just downgraded to 5.9.1. After upgrading to 5.9.2, order page throws an error and says

    “Uncaught Exception: Cannot traverse an already closed generator”
    is the text in the partially-visible red outlined box.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Darian

    (@d0153)

    Hi @mindtakerminis,

    Thanks for reaching out, and I’m sorry to hear you’re experiencing this issue with the latest version of Event Tickets.

    To help us narrow this down, could you confirm which Orders page you’re referring to?

    • The Orders page under Event Tickets, or
    • The WooCommerce → Orders page?

    Upon checking, we do have an ongoing issue affecting the latest version when used with WooCommerce Orders. If that’s the page you’re referring to, it would indicate that you’re using Event Tickets Plus.

    If that’s the case, please reach out to our Help Desk, and we’ll be happy to investigate your issue further there.

    I look forward to your reply.

    Hi @d0153 / @mindtakerminis

    Confirming this is the WooCommerce > Orders edit screen (not Tickets > Orders), with Event Tickets Plus active.

    After updating to Event Tickets 5.29.2, every order line item shows WordPress’s “There has been a critical error on this website” message. Downgrading to 5.29.1 resolves it.

    Fatal from the logs:

    Uncaught Exception: Cannot traverse an already closed generator
    in event-tickets/src/Tribe/Tickets.php:1736

    Stack:

    1. Tribe__Tickets__Tickets->get_attendees_from_module()
    2. Tribe\Tickets\Plus\Commerce\WooCommerce\Enhanced_Templates\Hooks->add_attendee_data_for_order_item()
    3. via woocommerce_before_order_itemmeta in WooCommerce’s html-order-item.php

    Cause looks like a 5.29.2 regression: get_attendees_from_module() now iterates $attendees twice (collect IDs / warmup_post_caches, then hydrate), while Event Tickets Plus passes a Generator from $attendees_orm->all( true ). Generators can only be traversed once.

    Plugin Support Darian

    (@d0153)

    Hi @robertstaddon,

    Thanks for your message and for providing those details.

    I can confirm that this particular issue is already known and is currently being investigated by our development team. Unfortunately, we don’t have an ETA for the fix at this time, but we’ll be sure to update this thread as soon as more information becomes available or when the fix is released.

    In the meantime, since you’re using Event Tickets Plus, could you please reach out to our Help Desk so we can investigate your specific case further?

    When creating your ticket, please include a link to this forum thread so the support representative has the full context of the issue.

    We look forward to helping you resolve this.

    Thread Starter mindtakerminis

    (@mindtakerminis)

    Thanks @robertstaddon. I can confirm my details are the same. If it’s a known issue, I’ll let it be and just not update the plugin until resolved. I do have ETP, btw.

    Plugin Support Darian

    (@d0153)

    Hi @mindtakerminis,

    Thanks for your message.

    Since you’re using one of our premium plugins, please submit a support ticket through our Help Desk so we can assist you further. We’re unable to provide support for premium plugins here in the WordPress.org forums.

    When submitting your ticket, please include a link to this forum thread so the support representative has the full context of the issue.

    We look forward to helping you resolve this.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It looks like we haven’t heard back from you in a while, so I’ll go ahead and close this thread for now. If you need further assistance, feel free to open a support ticket through our Help Desk.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.