I have created my own plugin. It works on my Mac but when I try to enabled it in my Debian server it shows as Disabled with a red dot. What's the best way to debug this?

I have not found anything particularly illuminating in the logs yet.

3 Answers 3


Turns out I had a capitalization typo in my plugin php file name.


class MyPlugin ...

Renaming the file to MyPlugin.php solved it. (capitial M)

So it would seem that the file and class name need to match exactly.


Make sure that the name of your plugin directory is all lowercase:


On some systems, the capitalization doesn't matter, but on other systems it makes a difference. (related)

  • Turns out it was the class name. I've posted that below.
    – Henry
    Commented Oct 8, 2014 at 23:30

for me was the file


it was referencing a wrong class name due to refactor error (plugin development)

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.