A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: helpers/site_helper.php

Line Number: 268

Backtrace:

File: /var/www/html/application/helpers/site_helper.php
Line: 268
Function: _error_handler

File: /var/www/html/application/libraries/Team.php
Line: 17
Function: site_pageheader

File: /var/www/html/application/views/teams.php
Line: 13
Function: team_list

File: /var/www/html/application/controllers/Teams.php
Line: 80
Function: view

File: /var/www/html/index.php
Line: 317
Function: require_once