Jump to content
prestashopDev

Exception: You are not allowed to disable the module

Recommended Posts

Hey guys,

Getting this error when installing a module:

Exception:
You are not allowed to disable the module eupago_multibanco.

  at src/Core/Addon/Module/ModuleManager.php:415
  at PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager->disable('eupago_multibanco')
     (src/PrestaShopBundle/Controller/Admin/Improve/ModuleController.php:594)
  at PrestaShopBundle\Controller\Admin\Improve\ModuleController->importModuleAction(object(Request))
  at call_user_func_array(array(object(ModuleController), 'importModuleAction'), array(object(Request)))
     (var/cache/dev/classes.php:4663)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (var/cache/dev/classes.php:4618)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false)
     (adminPS/index.php:88)

I appreciate any help.

Cheers

Share this post


Link to post
Share on other sites

I had this issue when I was developing module, and during development it was inside modules directory. So when I tried to upload zip file, it showed the error above. All I had to do is remove module from /modules (because it was uninstalled, just writing code there) and upload passed and got installed.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More