Hello,
After a recent update to WP5.5, and updating EO, EO-Pro and Discounts, when filling in the booking form to then proceed to the payment, it kicks the user back to the form without progressing, appending #eo-bookings to the url and throwing the error at pre-form;
Warning: Illegal string offset ‘type’ in public_html/wp-content/plugins/event-organiser-pro/includes/form-customiser/class-eo-booking-form-element.php on line 1454
Try it here; https://www.jackcollisonsoccerschool.com/course/bedfordshire-summer-camp-week-2/
Thanks
Jason Barnett
Hi Jason,
There is an error in your theme which is breaking the javascript on the booking form, which is causing it not to function correctly:
Uncaught TypeError: $(…).live is not a function
Choo
jQuery 2
Choo
jQuery 4 gdlr-script.js:498:12
Stephen Harris
Thank you for the pointer, the update for JQuery to 1.12 in EO meant that deprecated functions .live and .browser didn’t work, adding;
<script src="https://code.jquery.com/jquery-migrate-1.0.0.js"></script>
to the header fixed these for older, no longer updated themes (such as the one I’m using) without having the rewrite all the deprecated functions.
Jason Barnett
Hi Jason,
The update to jQuery was in WordPress, not Event Organiser – but yes, it appears the WordPress 5.5 update has broken a number of plug-ins/themes relying on these deprecated functions.
Glad to hear you’ve got it working
Stephen Harris
Sorry, it’s hard to tell what imports what anymore!
Thanks for your help and the work on this awesome plugin!
Jason Barnett