*

Miller

  • ****
  • 141 posts
Veronika theme error
« on: August 30, 2019, 10:37:38 AM »
error coming continuously


PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gggggggg/public_html/oc-includes/osclass/helpers/hSearch.php on line 342
[30-Aug-2019 13:51:20 Asia/Kolkata] PHP Warning:  A non-numeric value encountered in /home/gggggggg/public_html/oc-includes/osclass/model/Search.php on line 511
[30-Aug-2019 13:51:20 Asia/Kolkata] PHP Warning:  A non-numeric value encountered in /home/gggggggg/public_html/oc-includes/osclass/model/Search.php on line 512
[30-Aug-2019 13:51:20 Asia/Kolkata] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gggggggg/public_html/oc-includes/osclass/helpers/hSearch.php on line 342
[30-Aug-2019 13:51:21 Asia/Kolkata] PHP Warning:  A non-numeric value encountered in /home/gggggggg/public_html/oc-includes/osclass/model/Search.php on line 511
[30-Aug-2019 13:51:21 Asia/Kolkata] PHP Warning:  A non-numeric value encountered in /home/gggg/public_html/oc-includes/osclass/model/Search.php on line 512

*

MB Themes

Re: Veronika theme error
« Reply #1 on: August 30, 2019, 03:35:42 PM »
@Miller
Error reference to osclass core, you may find those line there and put just sign @ right before it... it will make these notices not appear.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

said11b

  • *
  • 3 posts
Re: Veronika theme error
« Reply #2 on: March 28, 2020, 01:29:37 PM »
error coming continuously


PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gggggggg/public_html/oc-includes/osclass/helpers/hSearch.php on line 342

I have only this error  :(... please help me.
Please write in detail

*

MB Themes

Re: Veronika theme error
« Reply #3 on: March 28, 2020, 01:46:23 PM »
Same answer as before
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

said11b

  • *
  • 3 posts
Re: Veronika theme error
« Reply #4 on: March 28, 2020, 01:55:44 PM »
I don't understand your answer. what can I do? Please write details. how can I do it.
« Last Edit: March 28, 2020, 02:32:30 PM by said11b »

*

said11b

  • *
  • 3 posts
Re: Veronika theme error
« Reply #5 on: March 29, 2020, 02:20:46 PM »
Please help me!

PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gggggggg/public_html/oc-includes/osclass/helpers/hSearch.php on line 342


I can't fix this error. I did not understand the answer you wrote above. Please help me!!! :(

*

MB Themes

Re: Veronika theme error
« Reply #6 on: March 29, 2020, 07:44:05 PM »
Go to that file and before count function place @ sign. File and line number is in error notice
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ajit Sahane

  • ****
  • 147 posts
  • https://bestclassifiedsusa.com
Re: Veronika theme error
« Reply #7 on: July 06, 2020, 08:02:10 AM »
Hello,

error coming continuously


PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gggggggg/public_html/oc-includes/osclass/helpers/hSearch.php on line 342

this error coming php 7.3 version & not 7.0 

Solution -  open /oc-includes/osclass/helpers/hSearch.php                 

                 on line 342  replace new code line

                //$countP = count($params);

                  $countP = (is_array($params)) ? count($params) : 0;


this error gone in php 7.3
       


*

MB Themes

Re: Veronika theme error
« Reply #8 on: July 06, 2020, 03:46:52 PM »
Just place @ in front of count
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots