Events Made Easy › Forums › Bug fixed or feature request implemented › Error on booking
- This topic has 11 replies, 2 voices, and was last updated 4 years, 7 months ago by Anonymous.
-
AuthorPosts
-
Sat 4 Apr 2020 at 15:52 #61070AnonymousInactive
Hi, after update to 2.1.70 every seat booking on my site results in an error. I can see just a generic error on booking form. Is there any way how to get a logfile for this?
Wordpress shows just two notices:
Notice: Undefined variable: headers in /nfsmnt/hosting1_2/b/d/bd692e53-71fd-4dd0-822e-d9ffacd3f968/panakrala.sk/web/wp-content/plugins/events-made-easy/eme_functions.php on line 2619 Notice: Undefined variable: nl2br_wanted in /nfsmnt/hosting1_2/b/d/bd692e53-71fd-4dd0-822e-d9ffacd3f968/panakrala.sk/web/wp-content/plugins/events-made-easy/eme_events.php on line 1442
I am not quite sure whether they are related.
Update to 2.1.71 didn’t help.
Sat 4 Apr 2020 at 15:58 #61071AnonymousInactiveI have tried to rollback back to 2.1.69. Booking is working.
Sat 4 Apr 2020 at 17:29 #61072FrankyKeymasterFirst thing: you shouldn’t show notices in your frontend, that allows other people to gain knowledge about your setup.
Second: 1 undefined variable is when you use template includes, the other one when you use the filter eme_extra_event_headers_filter . Both are fixed with this change:
https://plugins.trac.wordpress.org/changeset/2275894/Sun 5 Apr 2020 at 08:43 #61074AnonymousInactiveHi, thanks for the answer. First thing was only temporary to check for errors. Second… ok, thanks, notices are gone.
But booking is still not working resulting in error “Error has occured” (I have it in Slovak, I don’t know exact english wording) that I cannot track. Is there any logfile I can look at?
Sun 5 Apr 2020 at 08:48 #61075AnonymousInactiveEDIT, I managed to find this version on wordpress website.
Moreover, now I have a problem. The last version that worked for me was 2.1.69, but since 2.1.72 was uploaded and I tried to upgrade (with booking errors), I cannot rollback to 2.1.69, since it’s not there anymore.Sun 5 Apr 2020 at 08:59 #61076FrankyKeymasterDo you have a demo booking I can try (running the latest version)?
Edit: local testing reveals no problems with bookings, so maybe it is related to your defined filter.Sun 5 Apr 2020 at 09:03 #61077AnonymousInactiveI will create one for you today or tommorow. Thanks
Sun 5 Apr 2020 at 09:22 #61078FrankyKeymasterBtw: check the changelog on the eme_extra_event_headers_filter …
Tue 14 Apr 2020 at 16:13 #61096AnonymousInactiveI have posted answer several times here, but it never appears. Are urls allowed in the textfield?
Tue 14 Apr 2020 at 16:28 #61098AnonymousInactiveHmmm, few days ago I created a reply here, but it’s not here. It was not back then, but if I wanted to repost it, the site told me it’s a duplicate. Nevertheless… let’s try it once again without the links
I have created a copy of my website with a copy of database for you. It’s setup exactly the same as production site.
link: dev[dot]panakrala[dot]sk
All bookings on my website are only for registered users, so…
1. Click “Prihlásiť sa” (LOGIN, toppanel)
2. username: eme_test
password: test
3. Now click on the event in the center of the screen. (pics are missing because I didn’t copied them to dev website)
4. Now you can see the booking form. All fields except DISCOUNT FIELD are hidden using css. Enter testdiscount. Hit Potvrdiť (submit).Expected outcome: Reservation successfull (this was the result until 2.1.69
Real outcome: An error has occurredExplanation: Booking is set to OFFLINE, the code you are entering is a 100% discount for the event. This way users can claim tickets for shows they bought through external partner website. After they claim the ticket, they are allowed to watch live stream of the show. While the user is logged in, all fields are prefilled and therefore hidden.
Tue 14 Apr 2020 at 18:18 #61100FrankyKeymasterThere’s a fix in Dev for events using discount groups, maybe that’s your problem too?
Concerning the post not appearing: probably akismet marked it as spam, I’ll check and approve thoseThu 16 Apr 2020 at 10:49 #61106AnonymousInactiveGreat, I confirm 2.1.73 fixes the issue.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.