Illegal string offset 'type' in class-eo-booking-form-element.php on line 1454

WordPress Event Management, Calendars & Registration Forums Report A Bug Illegal string offset 'type' in class-eo-booking-form-element.php on line 1454

This topic contains 4 replies, has 2 voices, and was last updated by  Jason Barnett 3 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38467

    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
    #38469

    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
    #38477

    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
    #38484

    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
    #38485

    Sorry, it’s hard to tell what imports what anymore!

    Thanks for your help and the work on this awesome plugin!

    Jason Barnett
Viewing 5 posts - 1 through 5 (of 5 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.