• Resolved Phil

    (@owendevelopment)


    Since updating to the latest version, now unable to edit or modify any tickets from the admin. Once you click the pencil icon to edit a ticket, the loading spinner constantly spins and there’s a JS error in the console:

    Uncaught TypeError: $dependent.find(…).select2TEC is not a function

    If it helps, it originates from here:
    /event-tickets/common/src/resources/js/dependency.min.js?ver=5.3.0.4

    • This topic was modified 5 months, 1 week ago by Phil.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @owendevelopment ,

    Thank you for reaching out.

    For me to understand and learn more about your setup, could you provide the version of the following?

    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Event Tickets
    5. Theme and Version
    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.

    e dev

    (@efishinsea)

    None of the above questions you are asking have anything to do with the bug in your plugin. Please look into it.

    Plugin Support Darian

    (@d0153)

    Hi @efishinsea

    Are you also experiencing the same issue? This usually happens if there’s a plugin/theme conflict. You can check this by running a conflict test.

    If that doesn’t help, could you open a separate thread and provide a screenshot of the issue? Please also include the system information that was asked above.

    I was, yes.

    It had to do with the main “The Events Calendar” plugin not being active since we were only using the Tickets/RSVP portion. If The Events Calendar plugin was inactive, the JS error happened as described when trying to add Tickets or RSVP to an Event, but if I enabled The Events Calendar, the error went away and everything worked as expected.

    That appears to be fixed now and we can use Tickets/RSVP without Events Calendar being active again.

    Plugin Support Darian

    (@d0153)

    @efishinsea

    Thanks for your confirmation and I’m glad that it is now working.

    If you have a minute, a great review from you would be amazing!

    https://www.ads-software.com/support/plugin/event-tickets/reviews/

    The error is still exists if you only use Events tickets alone.
    dependency.js seems to use select2TEC, but is not define, after looking, it’s seems to be call by ‘tribe-dropdowns’.

    \event-tickets\common\src\Tribe\Main.php Line 295
    [ ‘tribe-dependency’, ‘dependency.js’, [ ‘jquery’, ‘underscore’, ‘tribe-common’ ] ],

    I added the dependecy for the dropdown ‘tribe-dropdowns’ and it’s fix the javascript error
    [ ‘tribe-dependency’, ‘dependency.js’, [ ‘jquery’, ‘underscore’, ‘tribe-common’,’tribe-dropdowns’ ] ],

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.