1

I created a plugin to schedule some custom email notifications. The action URL is working perfectly on localhost but isn't working on stagings server. Is it related to any server stuff.

1

There's a 99% chance you're running into a case-sensitivity issue on your file system.

Check your plugin's name, the handle and the action URL for the controller you're trying to hit.

Most likely locally, you've got a case insensitive file system, so it doesn't matter that pluGiNHanDlE is not equal to pluginHandle, but on staging it's case sensitive so it does.

  • Thanks Brad... but I pushed the same plugin files to staging and copying the same URI from localhost :(. – Bhashkar Yadav Jan 31 '17 at 12:30
  • If it's a case sensitivity problem, that would address the issue, though. Check the names of your plugin files vs. the names of the classes they are declaring. – Brad Bell Jan 31 '17 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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