PHP 7.1 Warnings on FES extension

WordPress Event Management, Calendars & Registration Forums Report A Bug PHP 7.1 Warnings on FES extension

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 6 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27159

    Getting these warnings on a fresh install viewing the Event Submission Forms admin page.

    Warning: Illegal string offset ‘id’ in /wp-content/plugins/event-organiser-fes/form-customiser/class-eo-event-form-controller.php on line 470

    Warning: Invalid form ID in /wp-content/plugins/event-organiser-fes/form-customiser/class-eo-event-form.php on line 59

    Query Version 1.12.4
    PHP Version 7.1.2
    MySQL Version 5.7.17
    Web Server nginx/1.10.3

    Brian Reeves
    #27161

    Hi MIchael,

    They would only appear if there are no forms. That shouldn’t generally happen as a form is created when you first activate the plug-in. Also, if you delete the last form and new one is created when you reload the page.

    Have you tried creating a form, do the errors persist?

    Stephen Harris
    #27163

    Yeah the errors do persist after creating a new form and saving. It doesn’t seem to be causing any issues with form creation or functionality though.

    Brian Reeves
    #27170

    Ok, I can see the bug now.

    When a new form is created it has no data, but this is being treated as an array when it is not. PHP fixed a bug in 7.1 which causing this.

    This will be fixed in the next update. As you’ve noted, it shouldn’t have any impact on the functioning of the plug-in. Additionally, once saved, the warnings should not appear.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 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.