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