Notice: Undefined index: bundled in /var/www/html/partner1/system/storage/modification/catalog/model/catalog/product.php on line 2732Notice: Undefined index: product_id in /var/www/html/partner1/system/storage/modification/catalog/model/catalog/product.php on line 2750Notice: Undefined index: model in /var/www/html/partner1/system/storage/modification/catalog/model/catalog/product.php on line 1937Notice: Undefined index: quantity in /var/www/html/partner1/system/storage/modification/catalog/model/catalog/product.php on line 1937Notice: Undefined index: bundled in /var/www/html/partner1/system/storage/modification/catalog/model/catalog/product.php on line 1937Fatal error: 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Error No: 1064
SELECT DISTINCT * FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '
in /var/www/html/partner1/system/library/db/mysqli.php:40
Stack trace:
#0 system/library/db.php(16): DB\MySQLi->query('SELECT DISTINCT...', Array)
#1 system/storage/modification/catalog/model/catalog/product.php(2059): DB->query('SELECT DISTINCT...')
#2 system/storage/modification/catalog/model/catalog/product.php(1948): ModelCatalogProduct->getProductByCondition('p.product_id = ')
#3 system/storage/modification/catalog/model/catalog/product.php(1939): ModelCatalogProduct->getERPStockQuantity(NULL)
#4 system/storage/modification/catalog/model/catalog/product.php(2750): ModelCatalogProduct->getStockQuantityFromStockMovement(NULL)
#5 [internal function]: ModelCatalogProduct->getVariationsStock(Array)
#6 vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(181): call_user_func_array(Array, Array)
#7 [internal function]: Loader->{closure}(Array, Array)
#8 system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#9 system/storage/modification/catalog/controller/product/search.php(348): Proxy->__call('getVariationsSt...', Array)
#10 system/storage/modification/catalog/controller/product/search.php(348): Proxy->getVariationsStock(Array)
#11 [internal function]: ControllerProductSearch->index()
#12 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): call_user_func_array(Array, Array)
#13 catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#14 [internal function]: ControllerStartupRouter->index()
#15 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): call_user_func_array(Array, Array)
#16 system/storage/modification/system/engine/front.php(37): Action->execute(Object(Registry))
#17 system/storage/modification/system/engine/front.php(32): Front->execute(Object(Action))
#18 system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#19 vqmod/vqcache/vq2-system_startup.php(124): require_once('/var/www/html/p...')
#20 index.php(23): start('catalog')
#21 {main}