Forums › Forums › Search & Filter Pro › Get warning: count(): Parameter must be an array… after upgrading to PHP7
- This topic has 7 replies, 2 voices, and was last updated 5 years, 7 months ago by
Trevor.
-
Trevor(Private) November 21, 2019 at 4:35 pm #227234
Is the error in the front or back end?
Warnings are just that, only warnings. They should not be appearing on a production (i.e. visible to the public) sites. You should set the PHP variable display_errors to OFF (per the PHP manual).
What version of our plugin are you using, as I am sure we had this issue many versions ago with PHP 7.2 and higher?
Our current version is 2.4.6
Anonymous(Private) November 22, 2019 at 9:02 am #227320Hi Trevor,
the warning appears in the front end, it’s still on staging (we were testing PHP 7.3).
Running the WordPress 5.3 and version 2.4.6 of Search&Filter Pro
I do realize that warning is “just” a warning, but I am kind of worried it might turn into an error in the near future… And would be happy to be able to fix it. 😉
Best
Kirsten -
AuthorPosts