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
"Getting unknown property" error in control panel since upgrade to 1.4.1 #59
Comments
Thanks @mtnorthrop - expect an update momentarily. |
Thanks for that! If I could make a suggestion, though, it looks like that line might not have been a typo, but a fallback from 'configOptions' => Plugin::$plugin->settings->colors
? Plugin::$plugin->settings->colors
: Plugin::$plugin->settings->colours, If the 'configOptions' => Plugin::$plugin->settings->colors, |
Thanks for the remarks @mtnorthrop we do have a major 2.0 release planned for this in 2021 with a lot more improvements and probably an entire codebase rewrite 🗡️ |
yeah there are several of these carryovers throughout that need to be addressed and cleaned - which will happen over the coming days. As @michtio says though, there's a full rebuild in the works with a bunch of new features including GraphQL and feedme support. |
When trying to view a Color Swatches field in the control panel, this error appears:
Getting unknown property: percipioglobal\colourswatches\models\Settings::colours
It appears that this error is being thrown from line 161 of
/src/fields/ColourSwatches.php
, and is due to the fact that the$colours
property was removed from/src/models/Settings.php
in version 1.4.1 of the plugin.The text was updated successfully, but these errors were encountered: