Price and Capacity Not Saving Correctly

Home Forums Ticket Products Event Tickets Plus Price and Capacity Not Saving Correctly

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1585101
    byoung2
    Participant

    I am trying to create my first ticket and when I set the capacity (for this ticket only or shared) and save ticket and update event, the ticket still says unlimited. Also the price I put in but the ticket still says free (until I went into WooCommerce products and updated it there now it shows correctly). It seems like capacity and price don’t get saved at all when creating tickets on the event page.

    #1585287
    byoung2
    Participant

    So I made a little progress…by putting in inventory in WooCommerce the unlimited quantity went away, but now it says out of stock. Also when I go into the event editor, I see capacity and available (both 0). If I select “set capacity for this ticket” then the page the user sees now says “Tickets are no longer available.” I am unable to change the capacity or available values…anything I enter doesn’t get saved and it stays as zero.

    #1586262
    Andras
    Keymaster

    Hi byoung2,

    Thanks for reaching out to us!

    Sorry to hear about your troubles. Let me help you get this sorted.

    Unfortunately only part of your system information made it through. Could you please follow this guide and share your full system information with me in a private reply? Thanks.

    When you edit a ticket and save it, which button do you click to save the changes? The “update post” button at the top or the “save ticket” that appears when you edit the ticket?

    Could you create a screen recording so I check what is happening?

    Thanks,
    Andras

    #1586305
    byoung2
    Participant

    This reply is private.

    #1586322
    byoung2
    Participant

    This reply is private.

    #1586473
    Andras
    Keymaster

    Thank you for the screen recordings, that was really helpful to see what is happening.

    Something goes wrong when you click the ‘Save ticket’ button. The ticket frame should then disappear and the list of tickets should become visible, like when you start editing the event.

    To dig deeper, please check if you can spot any console errors at your site when trying to save a ticket. (If needed, you may reference our KB article Using Google Chrome Developer Tools.)

    Whenever troubleshooting, it’s best to enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and share any debug messages you see while trying to replicate this issue.

    If there’s nothing obvious (such as a console error or WP_DEBUG message) pointing you to what might be the problem, please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.

    Note that https://wordpress.org/plugins/plugin-detective/ or https://wordpress.org/plugins/health-check/ may prove helpful as well. (third-party, not guaranteed or supported by us)

    Of course, we always recommend restorable database and file backups as well as performing modifications first on a staging site before modifying anything on your live/production site.

    Let me know what you find.

    Cheers,
    Andras

     

    #1586576
    byoung2
    Participant

    Thank you for your help

    Here is the error I got:

    [Tue Jul 31 12:54:15.143008 2018] [:error] [pid 19873] [client 172.30.0.239:45880] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtoupper() in /var/www/html/wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php:917\nStack trace:\n#0 /var/www/html/wp-content/plugins/event-tickets/src/Tribe/Tickets.php(2159): Tribe__Tickets_Plus__Commerce__WooCommerce__Main->save_ticket(123, Object(Tribe__Tickets__Ticket_Object), Array)\n#1 /var/www/html/wp-content/plugins/event-tickets/src/Tribe/Metabox.php(206): Tribe__Tickets__Tickets->ticket_add(123, Array)\n#2 /var/www/html/wp-includes/class-wp-hook.php(286): Tribe__Tickets__Metabox->ajax_ticket_add(”)\n#3 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#4 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#5 /var/www/html/wp-admin/admin-ajax.php(99): do_action(‘wp_ajax_tribe-t…’)\n#6 {main}\n thrown in /var/www/html/wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php on line 917, referer: https://www.salaryhacking.com/wp-admin/post.php?post=123&action=edit

    I was able to enable mbstring with the following:
    $ sudo apt-get install php-mbstring php-gettext
    $ sudo service apache2 restart

    #1587322
    Andras
    Keymaster

    That is awesome! Good job on that one!

    Do I understand correctly that your issue is resolved and you can create and update tickets with the needed price and capacity? In this case I would like to close the ticket.

    If you need further help with this issue, then let me know.

    Cheers,
    Andras

    #1604138
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Price and Capacity Not Saving Correctly’ is closed to new replies.