3

I'm attempting to enable a plugin from within the Craft control panel but I am unable to do so. It shows Disabled and when I click "Enable" it shows "Plugin Enabled" at the top but still shows disabled below and will not enable.

I'm not getting any errors reported and it seems to work on other environments just will not work now?

1

2 Answers 2

5

My guess is it's a case sensitivity issue with the main plugin class/file name (some operating systems have case sensitive filesystems and some don't).

You can review the requirements for how things should be named here: https://craftcms.com/docs/plugins/setting-things-up

Or better yet, use a site like https://pluginfactory.io/ to generate the boilerplate plugin code for you and compare it to what you have.

2

In this instance all of the file names and database were correct.

We had not run our composer dump-autoload script in several months since we updated the name which caused this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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