A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/news_category_view.php

Line Number: 22

Backtrace:

File: /home/usercommodity/public_html/application/views/news_category_view.php
Line: 22
Function: _error_handler

File: /home/usercommodity/public_html/application/controllers/Commodity_news.php
Line: 111
Function: view

File: /home/usercommodity/public_html/index.php
Line: 292
Function: require_once