-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown error when a plugin license environment variable is an empty string #4604
Comments
I’m not able to reproduce this; I just get a “Your license key is invalid.” error below the license input, which is expected. That happens whether I’ve set the environment variable to an empty string or if I just haven’t even set it yet. Try clearing out your
You shouldn’t have any issues using the same plugin license keys across all of your environments, as long as the |
Here’s the stack trace:
|
Thanks, able to reproduce this now. I think maybe yesterday I accidentally added Just fixed for the next release. But again, you shouldn't need to set license key environment variables to empty strings in the first place :) |
Description
When I make use of environment variables to keep plugin license keys out of the project config, I’m getting an “Unknown Error” if the environment variable is set to an empty string (as intended in the dev & staging environments, where Craft is running in trial mode). E.g.
Related issue: https://github.com/pixelandtonic/craftnet/issues/162
Steps to reproduce
$LICENSE_DYNAMIC_FIELDS
).env
(e.g.LICENSE_DYNAMIC_FIELDS=""
)Additional info
The text was updated successfully, but these errors were encountered: