Home › Forums › Ticket Products › Event Tickets Plus › Price and Capacity Not Saving Correctly
- This topic has 7 replies, 2 voices, and was last updated 7 years, 8 months ago by
byoung2.
-
AuthorPosts
-
July 27, 2018 at 10:49 pm #1585101
byoung2
ParticipantI 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.
July 28, 2018 at 2:08 pm #1585287byoung2
ParticipantSo 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.
July 30, 2018 at 3:00 pm #1586262Andras
KeymasterHi 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,
AndrasJuly 30, 2018 at 5:05 pm #1586305byoung2
ParticipantThis reply is private.
July 30, 2018 at 5:23 pm #1586322byoung2
ParticipantThis reply is private.
July 31, 2018 at 12:34 am #1586473Andras
KeymasterThank 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,
AndrasJuly 31, 2018 at 6:01 am #1586576byoung2
ParticipantThank 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 restartAugust 1, 2018 at 3:54 am #1587322Andras
KeymasterThat 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,
AndrasAugust 23, 2018 at 9:35 am #1604138Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Price and Capacity Not Saving Correctly’ is closed to new replies.
