An uncaught Exception was encountered

Type: TypeError

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

Filename: /var/www/html/application/controllers/Home.php

Line Number: 2318

Backtrace:

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