A PHP Error was encountered

Severity: Warning

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

Filename: controllers/News_controller.php

Line Number: 219

Backtrace:

File: /home/smartmarketnews/public_html/application/controllers/News_controller.php
Line: 219
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/smartmarketnews/public_html/system/core/Exceptions.php:271)

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/smartmarketnews/public_html/application/controllers/News_controller.php
Line: 220
Function: redirect

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