错误信息:

File :D:\web\index.php
Line :22
Class :controller
Function :dispatch
Type :->
Args :Array ( [0] => Array ( [ctr] => product [pid] => 10 [weblan] => 1 ) ) 1


File :D:\web\libraries\whl\component\controller.php
Line :1
Function :require_once
Args :Array ( [0] => D:\web\templates\ttg0275\ttg0275_product.php ) 1


File :D:\web\templates\ttg0275\ttg0275_product.php
Line :42
Class :Product
Function :getMenu
Type :->
Args :Array ( [0] => Array ( [0] => [1] => ) ) 1


File :D:\web\templates\ttg0275\lib\product_class.php
Line :40
Class :DB_Sql
Function :query
Type :->
Args :Array ( [0] => select type_id, type_name, up_id, parent_path, depth, child from w_ptype where weblan='1' and producer_id='1' and up_id in(,) order by root_id, order_id ) 1


File :D:\web\libraries\whl\component\database.php
Line :167
Class :DB_Sql
Function :halt
Type :->
Args :Array ( [0] => 无效的查询语句: select type_id, type_name, up_id, parent_path, depth, child from w_ptype where weblan='1' and producer_id='1' and up_id in(,) order by root_id, order_id ) 1


Database error: 无效的查询语句: select type_id, type_name, up_id, parent_path, depth, child from w_ptype where weblan='1' and producer_id='1' and up_id in(,) order by root_id, order_id
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by root_id, order_id' at line 1)
Session halted.