Osclass Support Forums
Osclass theme support => Zara Osclass Responsive Theme => Topic started by: james koya on March 12, 2021, 10:36:45 AM
-
HI
I am facing "warning" error under user profile update page
I am using latest zara theme and OSClass 3.9
can you please guide me how to rectify these errors
*
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\oc-includes\osclass\frm\User.form.class.php on line 126
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\oc-includes\osclass\frm\User.form.class.php on line 138
-
@james koya
It require osclass update so functions properly handle empty arrays or in case array is expected, but string delivered.
Or update manually in those files.
-
you mean to say I need to version OSClass to 4.x.x ?
-
@james koya
Yes, or you fix those problems manually in core files.
-
can you guide me how to fix files and what files need to be fix
I dont have any idea on fixing this
-
Check i.e. this:
https://stackoverflow.com/questions/51109440/parameter-must-be-an-array-or-an-object-that-implements-countable-in-phpmyadmin
We will not invest time into such issues as those has been fixed in newer versions.
-
Thank you