1. holdsworthdesign
  2. Support
  3. Monday, November 09 2020, 10:24 PM
Hi, I'm getting this error on the users search page:

Warning: count(): Parameter must be an array or an object that implements Countable in /home/brianholdsworth/public_html/components/com_jsn/views/list/tmpl/default.php on line 57
admin Accepted Answer
Admin
Hi,
thanks for report it.

try to replace at line 57 in file this code
if(!isset($this->items) || count($this->items)==0)
with this
if(!isset($this->items) || !is_array($this->items) || empty($this->items))


We will add this fix in next release.

NOTE: this is a simple PHP warning, in a production site it's recommended to disable to show PHP messages in the site.
  1. more than a month ago
  2. Support
  3. # 1
holdsworthdesign Accepted Answer
Thanks. That got rid of the error.
  1. more than a month ago
  2. Support
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.