CodeIgniter Forums

Full Version: Message: Undefined offset: 0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My website displaying below error , Can any one please help me ?

Message: Undefined offset: 0

Filename: core/My_front.php

Line Number: 49


File: /home/XXX/public_html/application/core/My_front.php
Line: 49
Function: _error_handler

File: /home/XXX/public_html/index.php
Line: 274
Function: require_once
It is very hard to debug if we do not have your code to look at. You appear to be trying to set an offset with a variable that has not been defined.

Can you show us your controller or model that is using the offset?