ErrorException [ Notice ]: Undefined offset: 0

APPPATH/classes/Controller/Shop.php [ 162 ]

157 
158 		$productDB = new Model_Product();
159 		$param = intval($this->request->param('param'));
160 
161 		$view_content = $productDB->getProduct($param, true);
162 		$this->title = htmlspecialchars_decode($view_content['product'][0]['name']) . ' - ' . $this->main_config->get('title');
163 
164 		$this->template->content = $content;
165 	}
166 
167 	public function action_cart()
  1. APPPATH/classes/Controller/Shop.php [ 162 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Shop->action_node()

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

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

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

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

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

Environment