-
Notifications
You must be signed in to change notification settings - Fork 641
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
Plugin setAttributes error due to getting/setting of settings behaviour #4706
Comments
Related issue: craftcms/postmark#10 |
This looks like a Postmark bug so I’ll fix it over there, but in the meantime you should be able to fix this locally by clearing out your |
While this was really a Postmark bug, it turns out that there’s no way for the plugin to actually fix the underlying issue without an update on Craft’s end to be more graceful if To get the fix early, change your "require": {
"craftcms/cms": "dev-develop#36ed8fa14d27670a5ff7293886ffa8ccff5cc5e7 as 3.2.9",
"...": "..."
} Then run Once you’ve done that, you should update to Postmark 2.0.2, which fixes the underlying issue. Until you do, Craft will start logging warnings to |
Description
Plugin::setSettings
is called where a plugin is initiated, however, the default behaviour is to callPlugin::getSettings
, which can returnnull
. This results in exceptions for plugins that do not have settings.Reference
cms/src/base/Plugin.php
Lines 195 to 206 in 1239460
cms/src/base/Plugin.php
Lines 211 to 214 in 1239460
The text was updated successfully, but these errors were encountered: