ErrorException [ Notice ]: Undefined variable: data

APPPATH/classes/controller/catalog.php [ 287 ]

282         $data['product'] = ORM::factory('product')
283            ->where('translit', '=', $translit)
284            ->and_where('product_partition_id', '=', $data['product_partition'])
285            ->find();
286         */
287         if ($data['product']->is_package) {
288             $data['product_price'] = $data['product']->product_price->find();
289         }
290 
291         if ($data['product']->loaded()) {
292             $this->template->title = $data['product']->title;
  1. APPPATH/classes/controller/catalog.php [ 287 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Catalog->action_html()

  3. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 120 ] » Kohana_Request->execute()

Environment