Jump to content

Exception: You are not allowed to disable the module

Recommended Posts

Hey guys,

Getting this error when installing a module:

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')
  at PrestaShopBundle\Controller\Admin\Improve\ModuleController->importModuleAction(object(Request))
  at call_user_func_array(array(object(ModuleController), 'importModuleAction'), array(object(Request)))
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false)

I appreciate any help.


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.
Note: Your post will require moderator approval before it will be visible.

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