sivia Posted November 6, 2021 Share Posted November 6, 2021 hi, i'm Silvia. i have this problem: Type error: Argument 3 passed to LinkBlockRepository::__construct() must be an instance of PrestaShopBundle\Translation\TranslatorComponent, instance of PrestaShopBundle\Translation\DataCollectorTranslator given, called in /var/www/html/modules/ps_linklist/ps_linklist.php on line 65 FatalThrowableError Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 3 passed to LinkBlockRepository::__construct() must be an instance of PrestaShopBundle\Translation\TranslatorComponent, instance of PrestaShopBundle\Translation\DataCollectorTranslator given, called in /var/www/html/modules/ps_linklist/ps_linklist.php on line 65 at modules/ps_linklist/src/LinkBlockRepository.php:12 at LinkBlockRepository->__construct(object(DbPDO), object(Shop), object(DataCollectorTranslator)) (modules/ps_linklist/ps_linklist.php:65) at Ps_Linklist->__construct() at ReflectionClass->newInstance() (src/Core/Foundation/IoC/Container.php:123) at PrestaShop\PrestaShop\Core\Foundation\IoC\Container->makeInstanceFromClassName('ps_linklist', array('ps_linklist' => true)) (src/Core/Foundation/IoC/Container.php:153) at PrestaShop\PrestaShop\Core\Foundation\IoC\Container->doMake('ps_linklist', array('ps_linklist' => true)) (src/Core/Foundation/IoC/Container.php:166) at PrestaShop\PrestaShop\Core\Foundation\IoC\Container->make('ps_linklist') (src/Adapter/ServiceLocator.php:65) at PrestaShop\PrestaShop\Adapter\ServiceLocator::get('ps_linklist') (classes/module/Module.php:1170) at ModuleCore::coreLoadModule('ps_linklist') (classes/module/Module.php:1149) at ModuleCore::getInstanceByName('ps_linklist') (modules/ps_themecusto/controllers/admin/AdminPsThemeCustoConfiguration.php:542) at AdminPsThemeCustoConfigurationController->setFinalList(array('menu' => array('pages' => array('AdminCategories' => array('Categorie', 'Crea una lista completa di categorie e sottocategorie per classificare i tuoi prodotti e gestire in modo semplice il tuo catalogo.'), 'AdminCmsContent' => array('Crea pagine di contenuto', 'Aggiungi e gestisci pagine di contenuto (pagine CMS: Termini e condizioni d\'uso, I nostri negozi, Chi siamo ecc.) come preferisci.'), 'AdminManufacturers' => array('Crea pagine di Marchi e Fornitori', 'Questa pagina ti consente di creare e gestire le tue pagine su Marchi e/o Fornitori.')), 'modules' => array('ps_mainmenu' => 22321)), 'slider' => array('modules' => array('ps_imageslider' => 22320)), 'home_products' => array('modules' => array('ps_featuredproducts' => 22319, 'ps_bestsellers' => 24566, 'ps_newproducts' => 24671, 'ps_specials' => 24672)), 'block_text' => array('modules' => array('ps_customtext' => 22317)), 'banner' => array('modules' => array('ps_banner' => 22313)), 'social_newsletter' => array('modules' => array('ps_emailsubscription' => 22318, 'ps_socialfollow' => 22323)), 'footer' => array('modules' => array('blockreassurance' => 22312, 'ps_linklist' => 24360), 'pages' => array('AdminStores' => array('Dettagli negozio', 'Visualizza informazioni aggiuntive sul tuo negozio o fai sapere ai tuoi clienti come possono contattarti.'))))) (modules/ps_themecusto/controllers/admin/AdminPsThemeCustoConfiguration.php:390) at AdminPsThemeCustoConfigurationController->initContent() (classes/controller/Controller.php:306) at ControllerCore->run() (classes/Dispatcher.php:518) at DispatcherCore->dispatch() (admin754cajhgf/index.php:93) Link to comment Share on other sites More sharing options...
JBW Posted November 8, 2021 Share Posted November 8, 2021 There is something worng with module ps_linklist - try to upgrade/reset it 1 Link to comment Share on other sites More sharing options...
sivia Posted November 8, 2021 Author Share Posted November 8, 2021 2 hours ago, JBW said: There is something worng with module ps_linklist - try to upgrade/reset it Reset the file? Or delete the file? Link to comment Share on other sites More sharing options...
JBW Posted November 8, 2021 Share Posted November 8, 2021 (edited) In Module manager But be aware that you might loose your links/settings inside. First see if there is an upgrade available and do a backup Edited November 8, 2021 by JBW (see edit history) Link to comment Share on other sites More sharing options...
sivia Posted November 8, 2021 Author Share Posted November 8, 2021 Thanks for your Reply, but when i try to go in the page for reset Link List i see the same error that i had public before... Could you write me an other solution? Thanks a lot Link to comment Share on other sites More sharing options...
Nickz Posted November 8, 2021 Share Posted November 8, 2021 15 hours ago, sivia said: Reset the file? Or delete the file? Don't delete files, rename them just in case. 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