ErrorException [ Notice ]: Undefined variable: idList

APPPATH/classes/Model/Product.php [ 886 ]

881 				$idList[] = $value['id'];
882 			}
883 
884 			$images = DB::select('*')
885 					->from($this->_productPhotoTable)
886 					->where('product_id', 'IN', $idList)
887 					->where('main', '=', 1)
888 					->execute()->as_array('product_id', 'name');
889 		}
890 
891 		$groups = DB::select('g.*')
  1. APPPATH/classes/Model/Product.php [ 886 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Shop.php [ 99 ] » Model_Product->getFirmProducts(arguments)

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

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

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

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

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

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

Environment