-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Craft 4.4: Declaration of verbb\buttonbox\fields\Colours array must be compatible with craft\fields\BaseOptionsField #52
Comments
Yeah, looks like a simple fix - updating the lines in:
From: protected function translatedOptions(bool $encode = false): array To the new parameters of: protected function translatedOptions(bool $encode = false, mixed $value = null, ?ElementInterface $element = null): array ...appears to fix it. But then perhaps its best to wait to see if 4.4 ships with the issue. |
Yep, aware of this one, and will wait for Craft 4.4 to be released! |
You can get this early, by running |
Just tried upgrading to Craft 4.4 and get the following error. Any idea how to fix this since 4.4 is in production now? Thanks!
|
I'll get a Craft 4.4 release out shortly, but @jacobgraf you can use the above command to get the compatible code. |
Released in 4.2.0 |
Describe the bug
Heads up - I'm testing out Craft 4.4 and I'm seeing this error with Button Box when attempting to edit a custom field in the CP.
Despite 4.4 still in development, I'm reporting because it seems like there may be a change on Craft's side that requires this plugin to be updated. See full 4.4 WIP Changelog here.
Please disregard if I'm mistaken! 🙂
Steps to reproduce
Craft CMS version
4.4.x-dev
Plugin version
4.1
Multi-site?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: