*

james koya

  • **
  • 19 posts
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

*

MB Themes

@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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

james koya

  • **
  • 19 posts
you mean to say I need to version OSClass to 4.x.x ?

*

MB Themes

@james koya
Yes, or you fix those problems manually in core files.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

james koya

  • **
  • 19 posts
can you guide me how to fix files and what files need to be fix
I dont have any idea on fixing this

*

MB Themes

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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

james koya

  • **
  • 19 posts
Thank you