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`=440 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/taglib/line.php [ 73 ] » Model_Line::get_minprice(arguments)

  4. /mnt/webdata/yoyoer/data/cache/v5/tplcache/default/destination/main.php [ 54 ] » Taglib_Line::query(arguments)

  5. APPPATH/classes/stourweb/view.php [ 65 ] » include(arguments)

  6. DOCROOT/tools/classes/class/view.php [ 420 ] » Stourweb_View->capture(arguments)

  7. APPPATH/classes/stourweb/controller.php [ 117 ] » Class_View->render()

  8. DOCROOT/plugins/destination/classes/controller/pc/destination.php [ 85 ] » Stourweb_Controller->display(arguments)

  9. {PHP internal call} » Controller_Pc_Destination->action_main()

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

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

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

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

Environment