Notice!

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

APPPATH/classes/controller/tenant.php @ line 60

55            ->from('tenant')
56            ->where('flag','=',1)
57            ->and_where('open_flag','=',1)
58            ->and_where('id','=',$id)
59            ->execute()
60            ->as_array()[0];
61
62        return View::forge('tenant_detail'$data);
63    }
64
65}

Backtrace

  1. COREPATH/bootstrap.php @ line 109
    104        include COREPATH.'classes/error.php';
    105        class_alias('\Fuel\Core\Error''Error');
    106        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    107    }
    108
    109    return \Error::error_handler($severity$message$filepath$line);
    110});
    111
    112function setup_autoloader()
    113{
    114    Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/tenant.php @ line 60
    55            ->from('tenant')
    56            ->where('flag','=',1)
    57            ->and_where('open_flag','=',1)
    58            ->and_where('id','=',$id)
    59            ->execute()
    60            ->as_array()[0];
    61
    62        return View::forge('tenant_detail'$data);
    63    }
    64
    65}
    
  3. COREPATH/classes/request.php @ line 444
    439                    // fire any controller started events
    440                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    441
    442                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    443
    444                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    445
    446                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    447
    448                    // fire any controller finished events
    449                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  4. DOCROOT/index.php @ line 53
    48require APPPATH.'bootstrap.php';
    49
    50// Generate the request, execute it and send the output.
    51try
    52{
    53    $response Request::forge()->execute()->response();
    54}
    55catch (HttpNotFoundException $e)
    56{
    57    \Request::reset_request(true);
    58