Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Undefined offset: 0

APPPATH/classes/controller/user/data.php @ line 158

153                ->where('deleted_at''='NULL)
154                ->where('cat1_cd'$cat1_cd)
155//                ->where('cat2_cd', $cat2_cd)
156                ->where('cat4_cd'$cat4_cd)
157                ->distinct()->execute()->as_array();
158            $this->data['cat1_name'] = $arr[0]['cat1_name'];
159//            $this->data['cat2_name'] = $arr[0]['cat2_name'];
160            $this->data['cat4_name'] = $arr[0]['cat4_name'];
161
162
163/*

Backtrace

  1. COREPATH/bootstrap.php @ line 103
    98        include COREPATH.'classes/errorhandler.php';
    99        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    100        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    101    }
    102
    103    return \Errorhandler::error_handler($severity$message$filepath$line);
    104});
    105
    106function setup_autoloader()
    107{
    108    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/user/data.php @ line 158
    153                ->where('deleted_at''='NULL)
    154                ->where('cat1_cd'$cat1_cd)
    155//                ->where('cat2_cd', $cat2_cd)
    156                ->where('cat4_cd'$cat4_cd)
    157                ->distinct()->execute()->as_array();
    158            $this->data['cat1_name'] = $arr[0]['cat1_name'];
    159//            $this->data['cat2_name'] = $arr[0]['cat2_name'];
    160            $this->data['cat4_name'] = $arr[0]['cat4_name'];
    161
    162
    163/*
    
  3. COREPATH/classes/request.php @ line 454
    449                    // fire any controller started events
    450                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    451
    452                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    453
    454                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    455
    456                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    457
    458                    // fire any controller finished events
    459                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  4. DOCROOT/index.php @ line 74
    69            $response Response::forge($response);
    70        }
    71    }
    72    elseif ($e === false)
    73    {
    74        $response Request::forge()->execute()->response();
    75    }
    76    elseif ($route)
    77    {
    78        $response Request::forge($routefalse)->execute(array($e))->response();
    79    }
    
  5. DOCROOT/index.php @ line 95
    90{
    91    // Boot the app...
    92    require APPPATH.'bootstrap.php';
    93
    94    // ... and execute the main request
    95    $response $routerequest();
    96}
    97catch (HttpBadRequestException $e)
    98{
    99    $response $routerequest('_400_'$e);
    100}