プリペアードステートメントで失敗しました。処理を中止します。
Standard Message: MDB2 Error: syntax error
Standard Code: -2
DBMS/User Message: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysqli_1096ebf012230ce852edf4ead69a4c27dd13ed9ca1 FROM 'select count(*) from m_item item inner join brands brands on item.category = brands.category and item.brand = brands.brand inner join m_category category on item.category = category.id inner join m_brand brand on item.brand = brand.id inner join m_model model on item.model = model.id where item.public = 1 and item.del = 0 and item.model != 0 and item.stock = 1 and item.category = 1 and item.brand = 10 and item.model = 120?model= ']
[Native code: 1064]
[Native message: 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 '?model=' at line 1]
DBMS/Debug Message: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysqli_1096ebf012230ce852edf4ead69a4c27dd13ed9ca1 FROM 'select count(*) from m_item item inner join brands brands on item.category = brands.category and item.brand = brands.brand inner join m_category category on item.category = category.id inner join m_brand brand on item.brand = brand.id inner join m_model model on item.model = model.id where item.public = 1 and item.del = 0 and item.model != 0 and item.stock = 1 and item.category = 1 and item.brand = 10 and item.model = 120?model= ']
[Native code: 1064]
[Native message: 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 '?model=' at line 1]