A PHP Error was encountered

Severity: Warning

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

Filename: controllers/Course.php

Line Number: 342

Backtrace:

File: C:\Applications\Web\ONE\PRD\application\controllers\Course.php
Line: 342
Function: _error_handler

File: C:\Applications\Web\ONE\PRD\index.php
Line: 337
Function: require_once