Ticket Quantity Won't Change

Home Forums Ticket Products Event Tickets Plus Ticket Quantity Won't Change

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1123345
    Shawn Burtis
    Participant

    Whenever I try to increase my RSVP or ticket quantity, it momentarily increases but then immediately erases the quantity value. When I try increasing the quantity, my Google Chrome Console tells me: “The specified value “false” is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?”

    Live example: http://shawnburtis.com/corporatecasual/event/professor-charles-franklin-marquette-university/

    The happens ONLY when Event Tickets Plus is activated. When it is not active, the RSVP functionality works as it should. Event Tickets Plus breaks both quantity fields for RSVP and tickets.

    I did some debugging and found if I erase the contents of plugins/event-tickets/src/resources/js/frontend-ticket-form.min.js then everything works as intended. This is obviously not ideal, since I don’t know what I’m erasing, but the system seems to run fine without it. I’d like to have everything running properly without adjusting the plugin.

    I’ve activated the generic Twenty Fourteen WordPress theme for debugging purposes.

    ONLY plugins being used:

    WooCommerce (to sell)
    The Events Calendar (to create events)
    Event Tickets (to RSVP)
    Event Tickets Plus (for paid tickets)

    Thanks!

    #1123677
    Geoff B.
    Member

    Good evening Shawn and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us and for providing your system information.

    We are sorry to hear about the issue you are experiencing while activating Event Tickets Plus.
    I would love to help you with this topic.

    I went ahead and tried to replicate the issue, but unfortunately I was not successful in doing so.
    The good news is that this means that we should be able to fix your issue 🙂

    As a starting point, could you tell me if, during the ticket creation process, there was an attempt to change any of the tickets types after an initial save ? (from RSVP to WooCommerce or vice-versa)

    If you don’t mind, it would be great if you could also share a screenshot of your tickets settings for both tickets.

    Finally, to your knowledge, is it possible that there were some changes made in the functions.php file of twenty-fourteen ?

    Best regards,

    Geoff B.

     

    #1124911
    Shawn Burtis
    Participant

    Hey Geoff – Thanks for the response. After some additional debugging, I realized the issue I originally posted about (above) only came about after I tried resolving a different JavaScript error. While trying to fix the JS error, I ended up diving into a rabbit hole of custom edits. Therefore, please disregard my initial issue posted above and let’s get to the bottom of this original issue. Let me know if I should start a new thread.

    Identical environment as above – Twenty Fourteen WordPress theme, no custom edits. Plugins: WooCommerce / The Events Calendar / Event Tickets / Event Tickets Plus. Whenever I increase the ticket quantity, I get a JavaScript error:

    “Uncaught TypeError: Cannot read property ‘mode’ of undefined” File: frontend-ticket-form.min.js?ver=4.1.4 Line: 179

    You can view this error if you open Developer Tools -> Console: http://shawnburtis.com/corporatecasual/event/professor-charles-franklin-marquette-university/

    The ticketing system seems to function properly regardless of this error, but since it’s a JavaScript bug, it then breaks all the JS code on my page, which I need fully functional for other purposes.

    After finding this, I tried various solutions to solve the problem myself but just made things worse, which was my initial post above.

    Thanks for your patience. 🙂

    #1124917
    Geoff B.
    Member

    Good evening Shawn,

    Thank you for the answer.

    I’ll be glad to help you get to the bottom of this in the present thread.

    You are right, it looks like there is clearly a JavaScript conflict somewhere.
    Just to make sure I can replicate your conditions:

    • Could you send me the exact copy of the twenty-thirteen version you are using (with the customizations and all) in a .zip file link (via Dropbox or Google Drive) so that I can run some tests on my end ?
    • Could you tell me if your current plugin files have been modified (for example did you undo your changes to plugins/event-tickets/src/resources/js/frontend-ticket-form.min.js ?)

    Hang in there as we try to fix this.

    Best regards,

    Geoff B.

    #1124972
    Shawn Burtis
    Participant

    On my main site, I’m using a complex custom theme with lots of modifications. For debugging purposes, I’m using Twenty Fourteen, per your recommendation. That theme I’ve left completely untouched. Here’s a download: http://shawnburtis.com/corporatecasual/twentyfourteen.zip

    I have reverted my previous edits to frontend-ticket-form.min.js In order to eliminate any abnormalities, I re-downloaded all 4 plugins so there aren’t any modifications.

    One note: The error occurs when you update the RSVP quantity, not the ticket quantity.

    #1125495
    Geoff B.
    Member

    Good evening Shawn and thank you for writing back,

    I can totally see the error on your website.
    Unfortunately, I am still unable to replicate this on my end.

    Here’s what I think our next steps should be:

    • After a backup of your database, would you mind trying to see if updating to the latest versions of our plugins makes any difference ?
    • On my end, after the weekend, I would like to get a second opinion from our Dev team on this.

    Let me know how that goes.

    Have a great weekend,
    Geoff B.

    #1126090
    Shawn Burtis
    Participant

    Hi Geoff – I went in and updated the plugins to their latest versions and the problem seems to have disappeared. There was definitely something going on but since it’s gone now, no use in debugging the previous versions.

    Appreciate your help! Since we didn’t accomplish anything here, feel free to hide / delete this thread as it doesn’t contain anything meaningful.

    #1126322
    Geoff B.
    Member

    Good evening Shawn,

    I’m super stoked the update fixed it. As far as I’m concerned, this is the most important part.

    You are welcome back on our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Ticket Quantity Won't Change’ is closed to new replies.