TypeError: Argument 1 passed to PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository::hydrateOne() must be of the type array, boolean given, called in /home/lornithowj/www/src/Core/Foundation/Database/EntityRepository.php on line 208 and defined in /home/lornithowj/www/src/Core/Foundation/Database/EntityRepository.php:162
Stack trace:
#0 /home/lornithowj/www/src/Core/Foundation/Database/EntityRepository.php(208): PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository->hydrateOne(false)
#1 /home/lornithowj/www/src/Core/Foundation/Database/EntityRepository.php(228): PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository->doFind(true, Array)
#2 /home/lornithowj/www/modules/ps_legalcompliance/ps_legalcompliance.php(863): PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository->findOne(50876)
#3 /home/lornithowj/www/classes/Hook.php(966): Ps_LegalCompliance->hookDisplayProductPriceBlock(Array)
#4 /home/lornithowj/www/classes/Hook.php(351): HookCore::coreCallHook(Object(Ps_LegalCompliance), 'hookdisplayProd...', Array)
#5 /home/lornithowj/www/classes/Hook.php(903): HookCore::callHookOn(Object(Ps_LegalCompliance), 'displayProductP...', Array)
#6 /home/lornithowj/www/config/smarty.config.inc.php(169): HookCore::exec('displayProductP...', Array, NULL)
#7 /home/lornithowj/www/classes/Smarty/SmartyLazyRegister.php(83): smartyHook(Array, Object(Smarty_Internal_Template))
#8 /home/lornithowj/www/var/cache/prod/smarty/compile/6c/17/5a/6c175ad3638c57b431e97480c7a3f87d44a813ee_2.file.plist1499523679.tpl.php(257): SmartyLazyRegister->__call('smartyHook', Array)
#9 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_3271601066721faf78f1f05_26537923->callBlock(Object(Smarty_Internal_Template))
#10 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_3271601066721faf78f1f05_26537923), Object(Smarty_Internal_Template))
#11 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_3271601066721faf78f1f05_26537923))
#12 /home/lornithowj/www/var/cache/prod/smarty/compile/6c/17/5a/6c175ad3638c57b431e97480c7a3f87d44a813ee_2.file.plist1499523679.tpl.php(69): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_327160106...', 'product_price_a...')
#13 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721faf78f7724_51647923(Object(Smarty_Internal_Template))
#14 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#15 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#16 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0)
#17 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#18 /home/lornithowj/www/modules/appagebuilder/appagebuilder.php(2132): Smarty_Internal_TemplateBase->fetch('/home/lornithow...')
#19 /home/lornithowj/www/classes/Hook.php(966): APPageBuilder->hookDisplayLeoProfileProduct(Array)
#20 /home/lornithowj/www/classes/Hook.php(351): HookCore::coreCallHook(Object(APPageBuilder), 'hookdisplayLeoP...', Array)
#21 /home/lornithowj/www/classes/Hook.php(903): HookCore::callHookOn(Object(APPageBuilder), 'displayLeoProfi...', Array)
#22 /home/lornithowj/www/config/smarty.config.inc.php(169): HookCore::exec('displayLeoProfi...', Array, NULL)
#23 /home/lornithowj/www/classes/Smarty/SmartyLazyRegister.php(83): smartyHook(Array, Object(Smarty_Internal_Template))
#24 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/a8/ad/39/a8ad39f5c18188ebcafb46f1cbca815c72e9ffaa_2.file.leo_col_products.tpl.php(195): SmartyLazyRegister->__call('smartyHook', Array)
#25 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_4629115186721fb0ba553f5_95190050->callBlock(Object(Smarty_Internal_Template))
#26 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_4629115186721fb0ba553f5_95190050), Object(Smarty_Internal_Template))
#27 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_4629115186721fb0ba553f5_95190050))
#28 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/a8/ad/39/a8ad39f5c18188ebcafb46f1cbca815c72e9ffaa_2.file.leo_col_products.tpl.php(139): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_462911518...', 'product_miniatu...')
#29 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721fb0ba57722_49979005(Object(Smarty_Internal_Template))
#30 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#31 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#32 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#33 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/23/ae/56/23ae56baabd3b892342da72fd0c08df06237a36d_2.file.products.tpl.php(32): Smarty_Internal_Template->_subTemplateRender('file:catalog/_p...', NULL, 'layouts/layout-...', 0, 31536000, Array, 0, false)
#34 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721fb0ba2f027_89335031(Object(Smarty_Internal_Template))
#35 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#36 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#37 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#38 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/63/e5/62/63e56272203ff2a50cfaf03a687d5d6356248c71_2.file.product-list.tpl.php(83): Smarty_Internal_Template->_subTemplateRender('file:catalog/_p...', NULL, 'layouts/layout-...', 0, 31536000, Array, 0, false)
#39 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_15611387896721fb0b784be1_27847857->callBlock(Object(Smarty_Internal_Template))
#40 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_15611387896721fb0b784be1_27847857), Object(Smarty_Internal_Template))
#41 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_15611387896721fb0b784be1_27847857))
#42 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/63/e5/62/63e56272203ff2a50cfaf03a687d5d6356248c71_2.file.product-list.tpl.php(180): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_156113878...', 'product_list', 1)
#43 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_3114427806721fb0b780fd8_88243774->callBlock(Object(Smarty_Internal_Template))
#44 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_3114427806721fb0b780fd8_88243774), Object(Smarty_Internal_Template))
#45 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_3114427806721fb0b780fd8_88243774), Object(Block_18472603586721fb0b796f09_18246139))
#46 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_18472603586721fb0b796f09_18246139))
#47 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/58/0e/3c/580e3cc6e45ebcc781d13758f5d56775a86d681c_2.file.layout-left-column.tpl.php(84): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_184726035...', 'content', 2)
#48 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_13952272876721fb0b796598_58742220->callBlock(Object(Smarty_Internal_Template))
#49 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_13952272876721fb0b796598_58742220), Object(Smarty_Internal_Template))
#50 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_13952272876721fb0b796598_58742220), Object(Block_9799725946721fb0b7ad142_57572022))
#51 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_9799725946721fb0b7ad142_57572022))
#52 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/41/a0/96/41a096c3eac3fafaf99ae1a08e8d5b01d49eddb3_2.file.layout-both-columns.tpl.php(95): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_979972594...', 'content_wrapper')
#53 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721fb0b7b3a33_49384485(Object(Smarty_Internal_Template))
#54 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#55 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#56 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#57 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(125): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'layouts/layout-...', 0, 31536000, Array, 2, false, NULL, NULL)
#58 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/58/0e/3c/580e3cc6e45ebcc781d13758f5d56775a86d681c_2.file.layout-left-column.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild(Object(Smarty_Internal_Template), 'layouts/layout-...')
#59 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721fb0b797848_97891000(Object(Smarty_Internal_Template))
#60 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#61 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#62 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#63 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(125): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'layouts/layout-...', 0, 31536000, Array, 2, false, NULL, NULL)
#64 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/63/e5/62/63e56272203ff2a50cfaf03a687d5d6356248c71_2.file.product-list.tpl.php(37): Smarty_Internal_Runtime_Inheritance->endChild(Object(Smarty_Internal_Template), 'layouts/layout-...')
#65 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721fb0b786d19_41708267(Object(Smarty_Internal_Template))
#66 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#67 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#68 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#69 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(125): Smarty_Internal_Template->_subTemplateRender('catalog/listing...', NULL, 'layouts/layout-...', 0, 31536000, Array, 2, false, NULL, NULL)
#70 /home/lornithowj/www/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/13/7b/30/137b3087f942532c9e66e5b8756c38275bb7cf65_2.file.category.tpl.php(34): Smarty_Internal_Runtime_Inheritance->endChild(Object(Smarty_Internal_Template), 'catalog/listing...')
#71 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6721fb0b72ff09_84077553(Object(Smarty_Internal_Template))
#72 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#73 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#74 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0)
#75 /home/lornithowj/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, 'layouts/layout-...', NULL, 0)
#76 /home/lornithowj/www/classes/controller/FrontController.php(682): Smarty_Internal_TemplateBase->fetch('catalog/listing...', NULL, 'layouts/layout-...')
#77 /home/lornithowj/www/classes/controller/FrontController.php(666): FrontControllerCore->smartyOutputContent('catalog/listing...')
#78 /home/lornithowj/www/classes/controller/Controller.php(301): FrontControllerCore->display()
#79 /home/lornithowj/www/classes/Dispatcher.php(511): ControllerCore->run()
#80 /home/lornithowj/www/index.php(28): DispatcherCore->dispatch()
#81 {main}