Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')
ORDER BY o.id_order DESC
LIMIT 400' at line 5 in /var/www/vhosts/moviliario.es/httpdocs/classes/db/DbPDO.php:149
Stack trace:
#0 /var/www/vhosts/moviliario.es/httpdocs/classes/db/DbPDO.php(149): PDO->query('SELECT o.id_ord...')
#1 /var/www/vhosts/moviliario.es/httpdocs/classes/db/Db.php(377): DbPDOCore->_query('SELECT o.id_ord...')
#2 /var/www/vhosts/moviliario.es/httpdocs/classes/db/Db.php(614): DbCore->query('SELECT o.id_ord...')
#3 /var/www/vhosts/moviliario.es/httpdocs/modules/ps_crossselling/ps_crossselling.php(257): DbCore->executeS('SELECT o.id_ord...')
#4 /var/www/vhosts/moviliario.es/httpdocs/modules/ps_crossselling/ps_crossselling.php(214): Ps_Crossselling->getOrderProducts(Array)
#5 /var/www/vhosts/moviliario.es/httpdocs/modules/ps_crossselling/ps_crossselling.php(235): Ps_Crossselling->getWidgetVariables('displayFooterPr...', Array)
#6 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1054): Ps_Crossselling->renderWidget('displayFooterPr...', Array)
#7 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1000): HookCore::coreRenderWidget(Object(Ps_Crossselling), 'displayFooterPr...', Array)
#8 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayFooterPr...', Array, NULL)
#9 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#10 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classic/9e/b6/c3/9eb6c37e23c4a48bc00799bcad103b3562d332a5_2.module.stsitebuilderviewstemplatesfronttemplate1114050.tpl.php(457): SmartyLazyRegister->__call('smartyHook', Array)
#11 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ae2b078_41104126(Object(SmartyDevTemplate))
#12 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#13 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#14 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#15 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, NULL, NULL, 0)
#16 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL)
#17 /var/www/vhosts/moviliario.es/httpdocs/classes/module/Module.php(2273): SmartyDevTemplateCore->fetch()
#18 /var/www/vhosts/moviliario.es/httpdocs/modules/stsitebuilder/stsitebuilder.php(560): ModuleCore->fetch('module:stsitebu...')
#19 /var/www/vhosts/moviliario.es/httpdocs/modules/stsitebuilder/stsitebuilder.php(526): StSiteBuilder->generateTempalte(Array, 'product')
#20 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1043): StSiteBuilder->hookDisplayWrapperBottom(Array)
#21 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(418): HookCore::coreCallHook(Object(StSiteBuilder), 'hookDisplayWrap...', Array)
#22 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(981): HookCore::callHookOn(Object(StSiteBuilder), 'displayWrapperB...', Array)
#23 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayWrapperB...', Array, NULL)
#24 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#25 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/37/a5/db/37a5dbb56f2c612252fce553b9d3e233e4d505cc_2.file.layout-both-columns.tpl.php(104): SmartyLazyRegister->__call('smartyHook', Array)
#26 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad2a3d5_85130465(Object(SmartyDevTemplate))
#27 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#28 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#29 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#30 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#31 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/ed/e9/43/ede943445f586d91e5f24f2a203e3299f8393431_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#32 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad15233_08600738(Object(SmartyDevTemplate))
#33 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#34 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#35 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#36 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#37 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/4b/2e/80/4b2e80ce1edaa710689e03fb87223c206a747d46_2.module.stsitebuilderviewstemplatesfrontlayoutslayoutfullwidth.tpl.php(64): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#38 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad0e229_78176175(Object(SmartyDevTemplate))
#39 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#40 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#41 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#42 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('module:stsitebu...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#43 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/81/e6/46/81e64651535304011de230ed19da3d71dd142b2e_2.file.product.tpl.php(56): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'module:stsitebu...')
#44 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8acf9e55_95980752(Object(SmartyDevTemplate))
#45 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#46 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#47 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#48 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'classiclayouts/...', NULL, 0)
#49 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/product...', NULL, 'classiclayouts/...', NULL)
#50 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(760): SmartyDev->fetch('catalog/product...', NULL, 'classiclayouts/...')
#51 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent('catalog/product...')
#52 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/Controller.php(339): FrontControllerCore->display()
#53 /var/www/vhosts/moviliario.es/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#54 /var/www/vhosts/moviliario.es/httpdocs/index.php(28): DispatcherCore->dispatch()
#55 {main}
Next PrestaShopException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')
ORDER BY o.id_order DESC
LIMIT 400' at line 5 in /var/www/vhosts/moviliario.es/httpdocs/classes/db/DbPDO.php:151
Stack trace:
#0 /var/www/vhosts/moviliario.es/httpdocs/classes/db/Db.php(377): DbPDOCore->_query('SELECT o.id_ord...')
#1 /var/www/vhosts/moviliario.es/httpdocs/classes/db/Db.php(614): DbCore->query('SELECT o.id_ord...')
#2 /var/www/vhosts/moviliario.es/httpdocs/modules/ps_crossselling/ps_crossselling.php(257): DbCore->executeS('SELECT o.id_ord...')
#3 /var/www/vhosts/moviliario.es/httpdocs/modules/ps_crossselling/ps_crossselling.php(214): Ps_Crossselling->getOrderProducts(Array)
#4 /var/www/vhosts/moviliario.es/httpdocs/modules/ps_crossselling/ps_crossselling.php(235): Ps_Crossselling->getWidgetVariables('displayFooterPr...', Array)
#5 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1054): Ps_Crossselling->renderWidget('displayFooterPr...', Array)
#6 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1000): HookCore::coreRenderWidget(Object(Ps_Crossselling), 'displayFooterPr...', Array)
#7 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayFooterPr...', Array, NULL)
#8 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#9 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classic/9e/b6/c3/9eb6c37e23c4a48bc00799bcad103b3562d332a5_2.module.stsitebuilderviewstemplatesfronttemplate1114050.tpl.php(457): SmartyLazyRegister->__call('smartyHook', Array)
#10 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ae2b078_41104126(Object(SmartyDevTemplate))
#11 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#12 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#13 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#14 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, NULL, NULL, 0)
#15 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL)
#16 /var/www/vhosts/moviliario.es/httpdocs/classes/module/Module.php(2273): SmartyDevTemplateCore->fetch()
#17 /var/www/vhosts/moviliario.es/httpdocs/modules/stsitebuilder/stsitebuilder.php(560): ModuleCore->fetch('module:stsitebu...')
#18 /var/www/vhosts/moviliario.es/httpdocs/modules/stsitebuilder/stsitebuilder.php(526): StSiteBuilder->generateTempalte(Array, 'product')
#19 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1043): StSiteBuilder->hookDisplayWrapperBottom(Array)
#20 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(418): HookCore::coreCallHook(Object(StSiteBuilder), 'hookDisplayWrap...', Array)
#21 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(981): HookCore::callHookOn(Object(StSiteBuilder), 'displayWrapperB...', Array)
#22 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayWrapperB...', Array, NULL)
#23 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#24 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/37/a5/db/37a5dbb56f2c612252fce553b9d3e233e4d505cc_2.file.layout-both-columns.tpl.php(104): SmartyLazyRegister->__call('smartyHook', Array)
#25 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad2a3d5_85130465(Object(SmartyDevTemplate))
#26 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#27 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#28 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#29 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#30 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/ed/e9/43/ede943445f586d91e5f24f2a203e3299f8393431_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#31 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad15233_08600738(Object(SmartyDevTemplate))
#32 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#33 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#34 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#35 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#36 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/4b/2e/80/4b2e80ce1edaa710689e03fb87223c206a747d46_2.module.stsitebuilderviewstemplatesfrontlayoutslayoutfullwidth.tpl.php(64): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#37 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad0e229_78176175(Object(SmartyDevTemplate))
#38 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#39 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#40 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#41 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('module:stsitebu...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#42 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/81/e6/46/81e64651535304011de230ed19da3d71dd142b2e_2.file.product.tpl.php(56): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'module:stsitebu...')
#43 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8acf9e55_95980752(Object(SmartyDevTemplate))
#44 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#45 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#46 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#47 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'classiclayouts/...', NULL, 0)
#48 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/product...', NULL, 'classiclayouts/...', NULL)
#49 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(760): SmartyDev->fetch('catalog/product...', NULL, 'classiclayouts/...')
#50 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent('catalog/product...')
#51 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/Controller.php(339): FrontControllerCore->display()
#52 /var/www/vhosts/moviliario.es/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#53 /var/www/vhosts/moviliario.es/httpdocs/index.php(28): DispatcherCore->dispatch()
#54 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')
ORDER BY o.id_order DESC
LIMIT 400' at line 5 in /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php:1058
Stack trace:
#0 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1000): HookCore::coreRenderWidget(Object(Ps_Crossselling), 'displayFooterPr...', Array)
#1 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayFooterPr...', Array, NULL)
#2 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#3 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classic/9e/b6/c3/9eb6c37e23c4a48bc00799bcad103b3562d332a5_2.module.stsitebuilderviewstemplatesfronttemplate1114050.tpl.php(457): SmartyLazyRegister->__call('smartyHook', Array)
#4 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ae2b078_41104126(Object(SmartyDevTemplate))
#5 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#6 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#7 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#8 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, NULL, NULL, 0)
#9 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL)
#10 /var/www/vhosts/moviliario.es/httpdocs/classes/module/Module.php(2273): SmartyDevTemplateCore->fetch()
#11 /var/www/vhosts/moviliario.es/httpdocs/modules/stsitebuilder/stsitebuilder.php(560): ModuleCore->fetch('module:stsitebu...')
#12 /var/www/vhosts/moviliario.es/httpdocs/modules/stsitebuilder/stsitebuilder.php(526): StSiteBuilder->generateTempalte(Array, 'product')
#13 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(1043): StSiteBuilder->hookDisplayWrapperBottom(Array)
#14 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(418): HookCore::coreCallHook(Object(StSiteBuilder), 'hookDisplayWrap...', Array)
#15 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(981): HookCore::callHookOn(Object(StSiteBuilder), 'displayWrapperB...', Array)
#16 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayWrapperB...', Array, NULL)
#17 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#18 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/37/a5/db/37a5dbb56f2c612252fce553b9d3e233e4d505cc_2.file.layout-both-columns.tpl.php(104): SmartyLazyRegister->__call('smartyHook', Array)
#19 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad2a3d5_85130465(Object(SmartyDevTemplate))
#20 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#21 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#22 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#23 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#24 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/ed/e9/43/ede943445f586d91e5f24f2a203e3299f8393431_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#25 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad15233_08600738(Object(SmartyDevTemplate))
#26 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#27 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#28 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#29 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#30 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/4b/2e/80/4b2e80ce1edaa710689e03fb87223c206a747d46_2.module.stsitebuilderviewstemplatesfrontlayoutslayoutfullwidth.tpl.php(64): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#31 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad0e229_78176175(Object(SmartyDevTemplate))
#32 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#33 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#34 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#35 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('module:stsitebu...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#36 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/81/e6/46/81e64651535304011de230ed19da3d71dd142b2e_2.file.product.tpl.php(56): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'module:stsitebu...')
#37 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8acf9e55_95980752(Object(SmartyDevTemplate))
#38 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#39 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#40 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#41 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'classiclayouts/...', NULL, 0)
#42 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/product...', NULL, 'classiclayouts/...', NULL)
#43 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(760): SmartyDev->fetch('catalog/product...', NULL, 'classiclayouts/...')
#44 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent('catalog/product...')
#45 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/Controller.php(339): FrontControllerCore->display()
#46 /var/www/vhosts/moviliario.es/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#47 /var/www/vhosts/moviliario.es/httpdocs/index.php(28): DispatcherCore->dispatch()
#48 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')
ORDER BY o.id_order DESC
LIMIT 400' at line 5 in /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php:431
Stack trace:
#0 /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php(981): HookCore::callHookOn(Object(StSiteBuilder), 'displayWrapperB...', Array)
#1 /var/www/vhosts/moviliario.es/httpdocs/config/smarty.config.inc.php(198): HookCore::exec('displayWrapperB...', Array, NULL)
#2 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#3 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/37/a5/db/37a5dbb56f2c612252fce553b9d3e233e4d505cc_2.file.layout-both-columns.tpl.php(104): SmartyLazyRegister->__call('smartyHook', Array)
#4 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad2a3d5_85130465(Object(SmartyDevTemplate))
#5 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#6 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#7 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#8 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#9 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/ed/e9/43/ede943445f586d91e5f24f2a203e3299f8393431_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#10 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad15233_08600738(Object(SmartyDevTemplate))
#11 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#12 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#13 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#14 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#15 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/4b/2e/80/4b2e80ce1edaa710689e03fb87223c206a747d46_2.module.stsitebuilderviewstemplatesfrontlayoutslayoutfullwidth.tpl.php(64): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#16 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8ad0e229_78176175(Object(SmartyDevTemplate))
#17 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#18 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#19 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#20 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('module:stsitebu...', NULL, 'classiclayouts/...', 0, 31536000, Array, 2, false, NULL, NULL)
#21 /var/www/vhosts/moviliario.es/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_full_width_tpl/81/e6/46/81e64651535304011de230ed19da3d71dd142b2e_2.file.product.tpl.php(56): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'module:stsitebu...')
#22 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6633ad8acf9e55_95980752(Object(SmartyDevTemplate))
#23 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#24 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#25 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#26 /var/www/vhosts/moviliario.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'classiclayouts/...', NULL, 0)
#27 /var/www/vhosts/moviliario.es/httpdocs/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/product...', NULL, 'classiclayouts/...', NULL)
#28 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(760): SmartyDev->fetch('catalog/product...', NULL, 'classiclayouts/...')
#29 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent('catalog/product...')
#30 /var/www/vhosts/moviliario.es/httpdocs/classes/controller/Controller.php(339): FrontControllerCore->display()
#31 /var/www/vhosts/moviliario.es/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#32 /var/www/vhosts/moviliario.es/httpdocs/index.php(28): DispatcherCore->dispatch()
#33 {main}
thrown in /var/www/vhosts/moviliario.es/httpdocs/classes/Hook.php on line 431