_doQuery: [Error message: Could not execute statement]
[Last executed query: SELECT P.*, PT.ProductTypeName
FROM Product P
LEFT JOIN ProductType PT ON P.ProductTypeID = PT.ProductTypeID
WHERE P.ProductID != '-1' AND ProductActive = 'Y' AND P.ProductTypeID = ORDER BY ProductTypeName, ProductName ASC]
[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 'ORDER BY ProductTypeName, ProductName ASC' at line 4]
