An uncaught Exception was encountered

Type: TypeError

Message: count(): Argument #1 ($var) must be of type Countable|array, int given

Filename: /home/mad/public_html/id/application/controllers/Video.php

Line Number: 20

Backtrace:

File: /home/mad/public_html/id/index.php
Line: 315
Function: require_once