A PHP Error was encountered

Severity: Warning

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

Filename: views/product.php

Line Number: 58

Backtrace:

File: /usr/share/nginx/html/application/views/product.php
Line: 58
Function: _error_handler

File: /usr/share/nginx/html/application/controllers/Product.php
Line: 39
Function: view

File: /usr/share/nginx/html/index.php
Line: 315
Function: require_once