
Stephen Harris
Hi Edith,
(1) I’ll release an update to fix this, and update to Event Organiser inadvertently impacted the license key functionality of discount codes. It shouldn’t impact the plug-ins functionality though.
(2) What version of Pro are you using, there as an update in Februrary (3.0.10) to address a sorting issue with booking form elements.
(3) The file needs to be named eventorganiserp-de_DE.mo

edith mayerhofer
Hi,
I have an unresolved support ticket since January 2020. I didn´t hear back anymore…
These are the problems:
-
The Licencse key for the discount code addon shows invalid (Notice: Undefined index: SERVER_ADDR in /mnt/web321/a0/72/5258172/htdocs/DVKS2020/wp-content/plugins/event-organiser-discount-codes/includes/add-on.php on line 30 Notice: Undefined variable: is_valid_license in /mnt/web321/a0/72/5258172/htdocs/DVKS2020/wp-content/plugins/event-organiser-discount-codes/includes/add-on.php on line 61)
-
The fields of the booking form are mixed up: I am ordering the fields in the backend with drag and drop, but after refreshing the page, the form fields seem to be ordered randomly again.
-
The German translation does not work. I have put the .po and .mo files in my folder wp-content/languages/event-organiser-pro/event-organiser-pro-de_DE.mo like described in this doc. http://docs.wp-event-organiser.com/i18n/ But my changes are not visible 🙁
I really need help with this… after 3 months.

Brian Reeves
I am trying to migrate a site off from a multisite into a stand alone wordpress. When I attempt to import the bookings I get this error:
An error of type E_ERROR was caused in line 31 of the file /home/seniorservicesmidland.org/www/wp-content/plugins/event-organiser/includes/event-organiser-utility-functions.php. Error message: Uncaught Exception: Error in formating DateTime object. Expected DateTime, but instead given NULL in /home/seniorservicesmidland.org/www/wp-content/plugins/event-organiser/includes/event-organiser-utility-functions.php:31
I have tried a few times and it fails each time and sends me an empty booking email.
Any help would be great.

Presence Builders
Hi author,
I have Offline Payment and Authorize.net turned on. However, in the booking forms, the Gateway picker option is no longer there. From what I understand, it should show up because there are multiple payment options enabled. Please advise.
Thanks in advance.

AK
Hi,
I have reported this earlier but this time I found an easier way to reproduce the bug. Hopefully it’s nothing too complicated.
I have setup a test site with nothing but Event Organiser, latest WordPress + default theme.
If I create a recurring event at for example March 17, March 24, March 31
and create a ticket with all dates selected.
Everything is ordered correct at first, however if I submit a booking for the ticket at March 31.
Then the ticket order is wrong the next time someone visits the event. It will now be in the order March 31, March 17, March 24,
The “Upcoming Dates” section above the form still shows the dates in correct order.
I have tried switching between different plugin versions and discovered that the ticketsorder is correct if I switch to EO Pro “Version 1.11.12” however the bug appears on both “Version 3.0.12” and “Version 2.0.1”.
Let me know if you want me to send you login credentials to my test site
Thanks!

Stephen Harris
Christian, the booking form has an ID of eo-bookings
, so if you create the following link:
<a href="#eo-bookings">Book now</a>
then clicking that should jump you the booking form. You can style that link to look like a button if you wish.
David, You could create the following shortcode (or just have the code in a custom template):
add_shortcode('my_booking_form', function($atts){
$event_id = isset($_GET['booking_for']) ? intval($_GET['booking_for']) : 0;
if($event_id && get_post_type($event_id) === 'event') {
return do_shortcode("[event_booking_form event_id=$event_id]");
}
});
Then create a page, and use the shortcode [my_booking_form]
. Then link to that page with ?booking_for=<event-id>
from the event page.
E.g.in the event details template:
printf( "<a href='https://mysite.com/mypage?booking_for=%d'>Book now</a>", get_the_ID());

Stephen Harris
Could you email me with a link to the booking form, and I’ll take a look?
The browser console error you report might be harmless. Essentially, when you make a booking, a token is stored in the browser which proves that user owns the booking. This allows the plug-in to recognize the user when they return to the bookings page (e.g. after they’ve gone through a payment gateway) and display them the booking.
If that token has expired, then you might see that error message in the console, but all that should happen from the end’s user perspective is that they’ll see the booking form rather than a confirmation message.
The token should last for 30 minutes, and the browser should remove it after that time.

Stephen Harris
Hi Marv,
There’s no straightforward way of doing this that doesn’t involve using MySQL. Bookings them selves are posts, and some booking data (such as the data collected in the booking form) is stored a post meta. Tickets, however, are stored in the eo_booking_tickets
table and are linked to the booking via its (post) ID. Additionally tickets can have meta data stored against them in eo_booking_ticketmeta
.
The best way would be to pull out the bookings from wp_posts
database, along with any associated wp_posmeta
records, and then pull out the associated eo_booking_tickets
and eo_booking_ticketmeta

AK
Thank you Stephen!
I just tried the anti-spam field and it works now.
However, the browser console still show error message ““Failed to load resource: the server responded with a status of 400 () /wp-json/eventorg/v1/booking”. Is that to be expected?
Earlier on one occasion there was also an browser console error for wp-json/eventorg/v1/gateways/offline and then EO Pro triggered an error message in the browser “You do not have permission” and the form could not be submitted, any idea what could have caused that?
…this was before I upgraded to latest version and I have not been able to replacate this since (it happened on the new extra confirmation page).
Thanks!

AK
…I just tried submitting a basic form with Google reCapcha on EO Pro version 2 and here it worked.
However Safari browser console was still showing errors for “The source list for Content Security Policy directive ‘script-src’ contains an invalid source: ”strict-dynamic”. It will be ignored.”
If I switch to latest EO Pro version 3, the form will not submit. “This field is required.” messsage appear and also the browser console shows the ““Failed to load resource: the server responded with a status of 400 () /wp-json/eventorg/v1/booking”
I´m testing with latest WordPress + default theme and no other plugins than yours:
Event Organiser Version 3.9.0
Event Organiser Booking Notification Settings Version 1.0.0
Event Organiser Discount Codes Version 1.3.3
Event Organiser Pro Version 3.0.9
Thanks!

AK
Hi again, I hope everything is alright
I have been trying the alternative, Google reCaptcha but it’s not working.
The form will not submit.
Safari browser console shows error for “The source list for Content Security Policy directive ‘script-src’ contains an invalid source: ”strict-dynamic”. It will be ignored.”
and
“Failed to load resource: the server responded with a status of 400 () /wp-json/eventorg/v1/booking
We have been building a new site around version 3, please advise if I should install version 2 where Anti spam form field works? (I have also had a few other questions over the last months on version 3) …or if you have a planned update very soon as we need to launch the new site next week
Thanks!

David Florence
This is helpful, but what I would like to do on our site is to have a button that opens the booking form in a separate page. I am aware that I can disable showing the form via add_filter( ‘eventorganiser_pro_get_option_disable_automatic_form’, ‘__return_true’ );
and than use shortcode [event_booking_form event_id=4 ] on a separate page/post;
however as we have a large number of events, this means I will have to create a large number of extra pages and finding the event id for each one is not that easy. and it will be difficult to maintain the site.
I would prefer to have a shortcode or button that I can add in to the event information page that opens the booking form for that event in a new page . (great plugin by the way…)
What steps would I need to implement to effect that?

Stephen Harris
Hi Paul,
Are you able to provide a link to the booking form? (Or email it to me?)

Stephen Harris
Hi Kim,
Sounds like possible a javascript error on the page which caused the booking form not to be submitted correctly (the page shouldn’t reload, but if they are seeing that warning it probably has).
Do you have a link to the booking form?

Kim Harding
I have been told by one of my customers that there is an issue with booking tickets, this is the information which she sent me
I get the following error when I try to submit:
“`
Warning: Illegal string offset ‘type’ in … /event-organiser-pro/includes/form-customiser/class-eo-booking-form-element.php on line 1455
“`
I have selected 2 adult tickets, but there is nowhere to enter card details.
I am using a Mac and Chrome version Version 79.0.3945.117 (Official Build) (64-bit)
Looks like an issue with the new Stripe two-step process