Tomi14 Posted October 9, 2023 Share Posted October 9, 2023 When I try to configure this module, I have this error. Can anyone help? "Type error: Too few arguments to function PrestaShop\Module\ProductComment\Repository\ProductCommentRepository::__construct(), 4 passed in /home/sklepvid/domains/vidos-domofony.pl/public_html/var/cache/prod/ContainerMxuwi6f/getProductCommentRepositoryService.php on line 8 and exactly 5 expected [Symfony\Component\Debug\Exception\FatalThrowableError 0]" Link to comment Share on other sites More sharing options...
ComGrafPL Posted October 9, 2023 Share Posted October 9, 2023 Reset module and clear cache in VAR Link to comment Share on other sites More sharing options...
Tomi14 Posted October 9, 2023 Author Share Posted October 9, 2023 With enabled module, I have error 500 on my homepage, even when I reset module, and clear VAR cache Link to comment Share on other sites More sharing options...
Zohaib-fk Posted October 9, 2023 Share Posted October 9, 2023 Hi, Try to uninstall the module with the delete files option and new installation after the performance menu option clear cache and var/cache manually deleting files. The below link has an example of the product comments module, attached a screenshot for your reference. https://www.hrms-systems.com/presta-addons/en/women/2-9-brown-bear-printed-sweater.html Link to comment Share on other sites More sharing options...
Tomi14 Posted October 9, 2023 Author Share Posted October 9, 2023 After cleaning cache i have error 500 when I try enter to BO In DEV mode I have this issue: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now