Parameter and array errors on front end
-
Hi Ed,
I’m glad to hear that you’ll still be working on RootsPersona (time allowing of course). I understand that you’ve been keeping it compatible with the latest PHP and WordPress versions, so I’m curious if you know the source of the following errors. I’m not sure when they first appeared (my site gets low traffic and user’s hadn’t notified me), but I’m recently getting hundreds of the following errors repeating on the page:Warning: count(): Parameter must be an array or an object that implements Countable in /htdocs/wp-content/plugins/rootspersona/php/class-RP-Persona-Factory.php on line 223 Warning: count(): Parameter must be an array or an object that implements Countable in /htdocs/wp-content/plugins/rootspersona/php/class-RP-Persona-Factory.php on line 328
On that page I have a simple shortcode of :
[rootsPersonaDescendancy personId='I1363' batchId='1' /]
When I tried to edit the page in admin, those errors overwhelmed the screen and I couldn’t navigate away. I then installed “Disable Gutenberg” plugin, and I was at least able to then edit the page in admin, but the errors on the front end remain.
I’m on PHP 7.3 and WP 5.3.
I hope you can point me in the right direction.Thank you!
The page I need help with: [log in to see the link]
- The topic ‘Parameter and array errors on front end’ is closed to new replies.