A PHP Error was encountered

Severity: 8192

Message: The each() function is deprecated. This message will be suppressed on further calls

Filename: models/Cms_model.php

Line Number: 87

Backtrace:

File: /home/tehnoala/public_html/app/models/Cms_model.php
Line: 87
Function: each

File: /home/tehnoala/public_html/app/controllers/Cms.php
Line: 6
Function: __construct

File: /home/tehnoala/public_html/index.php
Line: 352
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: models/Cms_model.php

Line Number: 21

Backtrace:

File: /home/tehnoala/public_html/app/models/Cms_model.php
Line: 21
Function: _error_handler

File: /home/tehnoala/public_html/app/controllers/Cms.php
Line: 22
Function: find_single_object

File: /home/tehnoala/public_html/index.php
Line: 352
Function: require_once