A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: models/Public_model.php

Line Number: 846

Backtrace:

File: /home/zfsh801oaxma/public_html/application/models/Public_model.php
Line: 846
Function: _error_handler

File: /home/zfsh801oaxma/public_html/application/controllers/Home.php
Line: 95
Function: getBrandsByCatgory

File: /home/zfsh801oaxma/public_html/index.php
Line: 293
Function: require_once