I have licensed the Verbb Navigation plugin, but every time I update Craft I get a notice that the license needs attention. The key field on the Plugins page is empty after the update. Is this a bug, or is there another way to store the key so it will be saved after an update?

  • Odd... how are you updating/deploying Craft?
    – Brad Bell
    Jul 19 '19 at 18:57
  • Update on a local dev machine via control panel, then deploy composer.json and run composer update on production machine. Jul 19 '19 at 22:25
  • We’re also deploying a project.yaml file from our local environment, where the plugin is not licensed. Could that be causing the problem? Jul 19 '19 at 22:27

@Dalton I would say that's indeed the issue (using the project.yaml file), at least at first glance.

Every time you're pushing the project.yaml file to your server, it'll overwrite your server's project.yaml file. Because the plugin isn't licensed locally, you're basically removing the license each deploy.

Can you register the license locally, then push your project.yaml file? You'll notice locally, as soon as you enter a license key, the file will change to store this license key. Things should stay in sync from then on.

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.