Database_Exception [ 42S22 ]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'supplier_channel_id' in 'where clause' [ SELECT MIN(`adultprice`) as price FROM sline_line_suit_price WHERE `lineid`=87 and supplier_channel_id=1 and `adultprice`>0 and day>=1710777600 and (`number` >0 or `number`=-1) and find_in_set(2,propgroup) ]

MODPATH/database/classes/kohana/database/pdo.php [ 185 ]

180 				// This benchmark is worthless
181 				Profiler::delete($benchmark);
182 			}
183 
184 			// Convert the exception in a database exception
185 			throw new Database_Exception(':error [ :query ]',
186 				array(
187 					':error' => $e->getMessage(),
188 					':query' => $sql
189 				),
190 				$e->getCode());
  1. MODPATH/database/classes/kohana/database/query.php [ 275 ] » Kohana_Database_PDO->query(arguments)

  2. DOCROOT/plugins/line/classes/model/line.php [ 124 ] » Kohana_Database_Query->execute()

  3. DOCROOT/plugins/line/classes/controller/pc/line.php [ 586 ] » Model_Line::get_minprice(arguments)

  4. {PHP internal call} » Controller_Pc_Line->action_show()

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

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

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

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

Environment