Warning: Trying to access array offset on value of type bool in /var/customers/binari/www-sandbox/topfun/classes/Category.php on line 2030
Warning: Trying to access array offset on value of type bool in /var/customers/binari/www-sandbox/topfun/classes/Category.php on line 2030
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 '2603,879,2)) ORDER BY sms.`position`
LIMIT 1' at line 7 in /var/customers/binari/www-sandbox/topfun/classes/db/DbPDO.php:149
Stack trace:
#0 /var/customers/binari/www-sandbox/topfun/classes/db/DbPDO.php(149): PDO->query()
#1 /var/customers/binari/www-sandbox/topfun/classes/db/Db.php(377): DbPDOCore->_query()
#2 /var/customers/binari/www-sandbox/topfun/classes/db/Db.php(614): DbCore->query()
#3 /var/customers/binari/www-sandbox/topfun/modules/stpagebanner/classes/StPageBannerClass.php(197): DbCore->executeS()
#4 /var/customers/binari/www-sandbox/topfun/modules/stpagebanner/stpagebanner.php(1444): StPageBannerClass::getAll()
#5 /var/customers/binari/www-sandbox/topfun/modules/stpagebanner/stpagebanner.php(1565): StPageBanner->_prepareHook()
#6 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(1043): StPageBanner->hookDisplayBreadcrumb()
#7 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(418): HookCore::coreCallHook()
#8 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(981): HookCore::callHookOn()
#9 /var/customers/binari/www-sandbox/topfun/config/smarty.config.inc.php(198): HookCore::exec()
#10 /var/customers/binari/www-sandbox/topfun/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#11 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/4f/ab/cf/4fabcf2da21f339f0e0dde4629dad1444a4e0342_2.file.layout-both-columns.tpl.php(301): SmartyLazyRegister->__call()
#12 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_6611812068386131547df6_60529078->callBlock()
#13 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#14 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#15 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/4f/ab/cf/4fabcf2da21f339f0e0dde4629dad1444a4e0342_2.file.layout-both-columns.tpl.php(92): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#16 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_683861315f1937_71359280()
#17 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#18 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#19 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#20 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#21 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/da/f4/09/daf409d62b98f91f1a70cb85c3c68ca8296c722e_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild()
#22 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68386131506c73_74392842()
#23 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#24 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#25 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#26 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#27 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/96/da/52/96da52048658d83544ced283b70b349fcefbb0a1_2.file.product.tpl.php(53): Smarty_Internal_Runtime_Inheritance->endChild()
#28 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6838613f83b565_01030948()
#29 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#30 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#31 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#32 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#33 /var/customers/binari/www-sandbox/topfun/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#34 /var/customers/binari/www-sandbox/topfun/classes/controller/FrontController.php(760): SmartyDev->fetch()
#35 /var/customers/binari/www-sandbox/topfun/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent()
#36 /var/customers/binari/www-sandbox/topfun/classes/controller/Controller.php(339): FrontControllerCore->display()
#37 /var/customers/binari/www-sandbox/topfun/classes/Dispatcher.php(510): ControllerCore->run()
#38 /var/customers/binari/www-sandbox/topfun/index.php(28): DispatcherCore->dispatch()
#39 {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 '2603,879,2)) ORDER BY sms.`position`
LIMIT 1' at line 7 in /var/customers/binari/www-sandbox/topfun/classes/db/DbPDO.php:151
Stack trace:
#0 /var/customers/binari/www-sandbox/topfun/classes/db/Db.php(377): DbPDOCore->_query()
#1 /var/customers/binari/www-sandbox/topfun/classes/db/Db.php(614): DbCore->query()
#2 /var/customers/binari/www-sandbox/topfun/modules/stpagebanner/classes/StPageBannerClass.php(197): DbCore->executeS()
#3 /var/customers/binari/www-sandbox/topfun/modules/stpagebanner/stpagebanner.php(1444): StPageBannerClass::getAll()
#4 /var/customers/binari/www-sandbox/topfun/modules/stpagebanner/stpagebanner.php(1565): StPageBanner->_prepareHook()
#5 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(1043): StPageBanner->hookDisplayBreadcrumb()
#6 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(418): HookCore::coreCallHook()
#7 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(981): HookCore::callHookOn()
#8 /var/customers/binari/www-sandbox/topfun/config/smarty.config.inc.php(198): HookCore::exec()
#9 /var/customers/binari/www-sandbox/topfun/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#10 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/4f/ab/cf/4fabcf2da21f339f0e0dde4629dad1444a4e0342_2.file.layout-both-columns.tpl.php(301): SmartyLazyRegister->__call()
#11 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_6611812068386131547df6_60529078->callBlock()
#12 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#13 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#14 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/4f/ab/cf/4fabcf2da21f339f0e0dde4629dad1444a4e0342_2.file.layout-both-columns.tpl.php(92): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#15 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_683861315f1937_71359280()
#16 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#17 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#18 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#19 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#20 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/da/f4/09/daf409d62b98f91f1a70cb85c3c68ca8296c722e_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild()
#21 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68386131506c73_74392842()
#22 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#23 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#24 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#25 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#26 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/96/da/52/96da52048658d83544ced283b70b349fcefbb0a1_2.file.product.tpl.php(53): Smarty_Internal_Runtime_Inheritance->endChild()
#27 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6838613f83b565_01030948()
#28 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#29 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#30 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#31 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#32 /var/customers/binari/www-sandbox/topfun/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#33 /var/customers/binari/www-sandbox/topfun/classes/controller/FrontController.php(760): SmartyDev->fetch()
#34 /var/customers/binari/www-sandbox/topfun/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent()
#35 /var/customers/binari/www-sandbox/topfun/classes/controller/Controller.php(339): FrontControllerCore->display()
#36 /var/customers/binari/www-sandbox/topfun/classes/Dispatcher.php(510): ControllerCore->run()
#37 /var/customers/binari/www-sandbox/topfun/index.php(28): DispatcherCore->dispatch()
#38 {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 '2603,879,2)) ORDER BY sms.`position`
LIMIT 1' at line 7 in /var/customers/binari/www-sandbox/topfun/classes/Hook.php:431
Stack trace:
#0 /var/customers/binari/www-sandbox/topfun/classes/Hook.php(981): HookCore::callHookOn()
#1 /var/customers/binari/www-sandbox/topfun/config/smarty.config.inc.php(198): HookCore::exec()
#2 /var/customers/binari/www-sandbox/topfun/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#3 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/4f/ab/cf/4fabcf2da21f339f0e0dde4629dad1444a4e0342_2.file.layout-both-columns.tpl.php(301): SmartyLazyRegister->__call()
#4 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_6611812068386131547df6_60529078->callBlock()
#5 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#6 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#7 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/4f/ab/cf/4fabcf2da21f339f0e0dde4629dad1444a4e0342_2.file.layout-both-columns.tpl.php(92): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#8 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_683861315f1937_71359280()
#9 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#10 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#11 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#12 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#13 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/da/f4/09/daf409d62b98f91f1a70cb85c3c68ca8296c722e_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild()
#14 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68386131506c73_74392842()
#15 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#16 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#17 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#18 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#19 /var/customers/binari/www-sandbox/topfun/var/cache/dev/smarty/compile/topfun_binarilayouts_layout_full_width_tpl/96/da/52/96da52048658d83544ced283b70b349fcefbb0a1_2.file.product.tpl.php(53): Smarty_Internal_Runtime_Inheritance->endChild()
#20 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6838613f83b565_01030948()
#21 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#22 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#23 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#24 /var/customers/binari/www-sandbox/topfun/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#25 /var/customers/binari/www-sandbox/topfun/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#26 /var/customers/binari/www-sandbox/topfun/classes/controller/FrontController.php(760): SmartyDev->fetch()
#27 /var/customers/binari/www-sandbox/topfun/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent()
#28 /var/customers/binari/www-sandbox/topfun/classes/controller/Controller.php(339): FrontControllerCore->display()
#29 /var/customers/binari/www-sandbox/topfun/classes/Dispatcher.php(510): ControllerCore->run()
#30 /var/customers/binari/www-sandbox/topfun/index.php(28): DispatcherCore->dispatch()
#31 {main}
thrown in /var/customers/binari/www-sandbox/topfun/classes/Hook.php on line 431