Somehow, I accidentally deleted the shield folder after installing the Shield module, and now I can't disable it. I can't work on my site.

Can anyone please tell me how to disable the module?


1 Answer 1


Just put the folder you deleted back where it was.

Then you'll be able to uninstall the module as normal.

  • Thank you . I put the folder back to the module and the set $user = '' in ShieldMiddleware but its not working. I just need to disable the shield, Is there any way to disable the module from database ?
    – Jahir7
    Commented Jun 26, 2017 at 10:19
  • @Jahir7 but its not working did you get an error or what?
    – No Sssweat
    Commented Jun 26, 2017 at 20:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.