Jump to content

installando moduli va in crash


gioreva

Recommended Posts

Buongiorno.

Ho installato il modulo v1.1.0-Assistance By PrestaShop.zip
Dopo l'upload mi da OK, appena clicco  su configura mi  fa errore:

Me lo ha anche fatto mettendo il nuovo modulo di pagamento di PayPal.

Però il sito funziona bene, almeno fino a prima del crash.

 

Sembra che si sia verificato un errore inaspettato

PrestaShop\Module\Mbo\ModuleCollectionDataProvider::__construct(): Argument #2 ($moduleRepository) must be of type PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepositoryInterface, ModuleRepository_091bb2f given, called in /home/web/gevaelettronica.it/subdomains/shop/htdocs/var/cache/prod/ContainerQaxA0VH/getMbo_Adapter_ModuleCollectionDataProviderService.php on line 9

[TypeError 0]

 

Attivando debug mi da:

 

 Symfony Exception
 Symfony Docs
TypeError
HTTP 500 Internal Server Error
PrestaShop\Module\Mbo\ModuleCollectionDataProvider::__construct(): Argument #2 ($moduleRepository) must be of type PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepositoryInterface, ModuleRepository_091bb2f given, called in /home/web/gevaelettronica.it/subdomains/shop/htdocs/var/cache/dev/Container8wT9tRb/getMbo_Adapter_ModuleCollectionDataProviderService.php on line 9
ExceptionLogs 2Stack Trace
TypeError
in modules/ps_mbo/src/ModuleCollectionDataProvider.php (line 69)
     * @param ModuleRepositoryInterface $moduleRepository     * @param PresenterInterface $modulePresenter     * @param TabRepository $tabRepository     * @param LegacyContext $context     */    public function __construct(        AdminModuleDataProvider $addonsProvider,        ModuleRepositoryInterface $moduleRepository,        PresenterInterface $modulePresenter,        TabRepository $tabRepository,        LegacyContext $context
in var/cache/dev/Container8wT9tRb/getMbo_Adapter_ModuleCollectionDataProviderService.php -> __construct (line 9)
in var/cache/dev/Container8wT9tRb/appAppKernelDevDebugContainer.php require (line 2414)
in var/cache/dev/Container8wT9tRb/getMbo_Tab_Collection_FactoryService.php -> load (line 9)
in var/cache/dev/Container8wT9tRb/appAppKernelDevDebugContainer.php require (line 2414)
in var/cache/dev/Container8wT9tRb/getMbo_Tab_Collection_ProviderService.php -> load (line 9)
in var/cache/dev/Container8wT9tRb/appAppKernelDevDebugContainer.php require (line 2414)
in vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php -> load (line 255)
in vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php -> make (line 231)
Container->get()
in modules/ps_mbo/ps_mbo.php (line 843)
ps_mbo->get()
in modules/ps_mbo/ps_mbo.php (line 630)
ps_mbo->shouldAttachRecommendedModulesAfterContent()
in modules/ps_mbo/ps_mbo.php (line 469)
ps_mbo->hookActionAdminControllerSetMedia()
in classes/Hook.php (line 1043)
HookCore::coreCallHook()
in classes/Hook.php (line 418)
HookCore::callHookOn()
in classes/Hook.php (line 981)
HookCore::exec()
in classes/controller/AdminController.php (line 2747)
AdminControllerCore->setMedia()
in controllers/admin/AdminModulesController.php (line 135)
AdminModulesControllerCore->setMedia()
in classes/controller/Controller.php (line 304)
ControllerCore->run()
in classes/Dispatcher.php (line 510)
DispatcherCore->dispatch()
in admin975vwtdst/index.php (line 95)

 

Link to comment
Share on other sites

Ciao,

prova a cancellare completamente la cache di Prestashop: via FTP o direttamente dal server cancella le cartelle prod e dev che trovi sotto /var/cache/

Buona giornata,
Federica

Link to comment
Share on other sites

Il bello è che adesso mi hanno fatto il restore sia dei file che del database a prima di tutto e lo stesso non mi  entra nel backoffice.

Gli errori avanzati sono:

image.thumb.png.b1f3e83f635f5bbdcd7883e801dc1eb9.png

 

image.thumb.png.ec0ce5f4889132acef5af356fc306b36.png

 

image.thumb.png.0bcf3cb06a521cfdbc8545bd330e4b83.png

image.thumb.png.14a67a11b56d35037a2281371e280f8a.png

image.thumb.png.d64ad9fbe3e6e026e5ee1c1d5338ee42.png

 

Bastano ? SOno solo a metà.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...