Fatal error: Uncaught TypeError: PrestaShop\Module\ProductComment\Repository\ProductCommentRepository::__construct(): Argument #1 ($connection) must be of type Doctrine\DBAL\Connection, Doctrine\Bundle\DoctrineBundle\Registry given, called in /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/FrontContainer.php on line 1169 and defined in /var/www/vhosts/pubblisav.it/httpdocs/modules/productcomments/src/Repository/ProductCommentRepository.php:60
Stack trace:
#0 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/FrontContainer.php(1169): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->__construct()
#1 /var/www/vhosts/pubblisav.it/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#2 /var/www/vhosts/pubblisav.it/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make()
#3 /var/www/vhosts/pubblisav.it/httpdocs/classes/module/Module.php(3446): Symfony\Component\DependencyInjection\Container->get()
#4 /var/www/vhosts/pubblisav.it/httpdocs/modules/productcomments/productcomments.php(1015): ModuleCore->get()
#5 /var/www/vhosts/pubblisav.it/httpdocs/modules/productcomments/productcomments.php(1035): ProductComments->getWidgetVariables()
#6 /var/www/vhosts/pubblisav.it/httpdocs/classes/Hook.php(1054): ProductComments->renderWidget()
#7 /var/www/vhosts/pubblisav.it/httpdocs/classes/Hook.php(1000): HookCore::coreRenderWidget()
#8 /var/www/vhosts/pubblisav.it/httpdocs/config/smarty.config.inc.php(198): HookCore::exec()
#9 /var/www/vhosts/pubblisav.it/httpdocs/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#10 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/ff/f1/a1/fff1a1060cfe09455896655566a1db56c3837824_2.file.product.tpl.php(195): SmartyLazyRegister->__call()
#11 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1801558877663da74905a713_88787836->callBlock()
#12 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#13 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#14 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/ff/f1/a1/fff1a1060cfe09455896655566a1db56c3837824_2.file.product.tpl.php(274): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#15 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_180720929663da74902dcd7_82277073->callBlock()
#16 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#17 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#18 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/ff/f1/a1/fff1a1060cfe09455896655566a1db56c3837824_2.file.product.tpl.php(28): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#19 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da74905bd82_54967179()
#20 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#21 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#22 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#23 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/39/3b/1d/393b1dcb03e8f2995ac70eed31d3767988b47565_2.file.productlist.tpl.php(39): Smarty_Internal_Template->_subTemplateRender()
#24 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da7490214d7_91459343()
#25 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#26 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#27 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#28 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/00/ee/ab/00eeab5934e01827a0f057152374292f1b7aab08_2.file.products.tpl.php(30): Smarty_Internal_Template->_subTemplateRender()
#29 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da749016f32_46369559()
#30 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#31 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#32 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#33 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/95/c4/3b/95c43b00c5211871e3c7b2ea8e137f663fe72d10_2.file.product-list.tpl.php(121): Smarty_Internal_Template->_subTemplateRender()
#34 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1201443713663da748d6e1e5_69744152->callBlock()
#35 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#36 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#37 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/95/c4/3b/95c43b00c5211871e3c7b2ea8e137f663fe72d10_2.file.product-list.tpl.php(216): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#38 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_643401412663da748d67857_12739141->callBlock()
#39 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#40 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process()
#41 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#42 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/d9/53/2c/d9532c7dc1e7f3deb13e6d2816321285979ca2b9_2.file.layout-left-column.tpl.php(84): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#43 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1043500789663da748d7fa28_59325597->callBlock()
#44 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#45 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process()
#46 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#47 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/b1/c2/5d/b1c25d8cad4aed581ff861d8e481920ba037b64c_2.file.layout-both-columns.tpl.php(94): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#48 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da748d993b2_54128458()
#49 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#50 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#51 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#52 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#53 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/d9/53/2c/d9532c7dc1e7f3deb13e6d2816321285979ca2b9_2.file.layout-left-column.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild()
#54 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da748d81160_12117551()
#55 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#56 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#57 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#58 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#59 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/95/c4/3b/95c43b00c5211871e3c7b2ea8e137f663fe72d10_2.file.product-list.tpl.php(44): Smarty_Internal_Runtime_Inheritance->endChild()
#60 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da748d74d79_93471110()
#61 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#62 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#63 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#64 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#65 /var/www/vhosts/pubblisav.it/httpdocs/var/cache/dev/smarty/compile/classiclayouts_layout_left_column_tpl/d6/23/59/d62359a8a53450710115e8ac63849d8acfa4da97_2.file.category.tpl.php(40): Smarty_Internal_Runtime_Inheritance->endChild()
#66 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_663da748d5d9c5_52046723()
#67 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#68 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#69 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#70 /var/www/vhosts/pubblisav.it/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#71 /var/www/vhosts/pubblisav.it/httpdocs/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#72 /var/www/vhosts/pubblisav.it/httpdocs/override/classes/controller/FrontController.php(50): SmartyDev->fetch()
#73 /var/www/vhosts/pubblisav.it/httpdocs/classes/controller/FrontController.php(742): FrontController->smartyOutputContent()
#74 /var/www/vhosts/pubblisav.it/httpdocs/classes/controller/Controller.php(339): FrontControllerCore->display()
#75 /var/www/vhosts/pubblisav.it/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#76 /var/www/vhosts/pubblisav.it/httpdocs/index.php(28): DispatcherCore->dispatch()
#77 {main}
thrown in /var/www/vhosts/pubblisav.it/httpdocs/modules/productcomments/src/Repository/ProductCommentRepository.php on line 60