ErrorException [ Notice ]: Undefined offset: 0

APPPATH/classes/Model/Seo.php [ 221 ]

216 ->on('seo_building_functions.type', '=', DB::expr("'$type'"))217 ->where('p_buidling_type_function.slug', '=', $slug)218 ->execute()219 ->as_array();220 221 return is_null($res) ? array() : $res[0];222 }223 }
  1. APPPATH/classes/Model/Seo.php [ 221 ] » Kohana_Core::error_handler( arguments )

  2. APPPATH/classes/Controller/Catalog/Index.php [ 69 ] » Model_Seo->getFunction( arguments )

  3. SYSPATH/classes/Kohana/Controller.php [ 85 ] » Controller_Catalog_Index->action_index( )

  4. {PHP internal call} » Kohana_Controller->execute( )

  5. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )

  6. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request( arguments )

  7. SYSPATH/classes/Kohana/Request.php [ 927 ] » Kohana_Request_Client->execute( arguments )

  8. DOCROOT/index.php [ 118 ] » Kohana_Request->execute( )

Environment