Exception Object
(
[message:protected] => Error: 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 ') AND price < 3644 AND stock_status_id = 1 ORDER BY price DESC' at line 1
Error No: 1064
SELECT * FROM oc_product LEFT JOIN oc_product_to_category optc ON oc_product.product_id = optc.product_id WHERE optc.category_id IN () AND price < 3644 AND stock_status_id = 1 ORDER BY price DESC
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/library/db/mysqli.php
[line:protected] => 48
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/library/db.php
[line] => 45
[function] => query
[class] => DB\MySQLi
[type] => ->
)
[1] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/catalog/model/extension/module/attendant_product.php
[line] => 432
[function] => query
[class] => DB
[type] => ->
)
[2] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/storage/modification/system/engine/loader.php
[line] => 250
[function] => getLatestProducts
[class] => ModelExtensionModuleAttendantProduct
[type] => ->
)
[3] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/engine/proxy.php
[line] => 47
[function] => {closure}
[class] => Loader
[type] => ->
)
[4] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/catalog/controller/extension/module/attendant_product.php
[line] => 39
[function] => __call
[class] => Proxy
[type] => ->
)
[5] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/storage/modification/system/engine/action.php
[line] => 80
[function] => index
[class] => ControllerExtensionModuleAttendantProduct
[type] => ->
)
[6] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/storage/modification/system/engine/loader.php
[line] => 48
[function] => execute
[class] => Action
[type] => ->
)
[7] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/storage/modification/catalog/controller/product/product.php
[line] => 973
[function] => controller
[class] => Loader
[type] => ->
)
[8] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/storage/modification/system/engine/action.php
[line] => 80
[function] => index
[class] => ControllerProductProduct
[type] => ->
)
[9] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/catalog/controller/startup/router.php
[line] => 25
[function] => execute
[class] => Action
[type] => ->
)
[10] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/storage/modification/system/engine/action.php
[line] => 80
[function] => index
[class] => ControllerStartupRouter
[type] => ->
)
[11] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/engine/router.php
[line] => 67
[function] => execute
[class] => Action
[type] => ->
)
[12] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/engine/router.php
[line] => 56
[function] => execute
[class] => Router
[type] => ->
)
[13] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/framework.php
[line] => 169
[function] => dispatch
[class] => Router
[type] => ->
)
[14] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/startup.php
[line] => 108
[args] => Array
(
[0] => /home/pcsmart/web/shop.pcsmart.ua/public_html/system/framework.php
)
[function] => require_once
)
[15] => Array
(
[file] => /home/pcsmart/web/shop.pcsmart.ua/public_html/index.php
[line] => 20
[function] => start
)
)
[previous:Exception:private] =>
)