An uncaught Exception was encountered

Type: TypeError

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

Filename: /home/merge/public_html/application/controllers/Home.php

Line Number: 39

Backtrace:

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