Closed williamhibberd closed 2 weeks ago
Hi, thanks for getting in touch! It looks like you’re on a version of MariaDB that is below the minimum required version. Please upgrade to at least 10.4.6 and try again - it should then work as expected.
Thanks for your time @i-just. I have just upgraded to mariadb 10.4 and am still having the issue. The issue is also happening on staging which is using MySQL 8.0.39.
I could only replicate this on MariaDB 10.3, not 10.4 or MySQL 8.0. That being said, it looks like someone has written to support regarding this issue, so we’re looking into it from there.
I believe I Just fixed this for the next release.
@williamhibberd If you want to test, change your craftcms/cms
requirement to 5.x-dev as 5.4.0.1
in composer.json, and run composer update
.
Thank you @brandonkelly, that works for me.
Thanks for testing! Just released 5.4.1 with that fix.
What happened?
Description
When adjusting a lightswitch field setting, on entry save I get the following error:
Craft CMS version
5.4.0.1
PHP version
8.3
Operating system and version
No response
Database type and version
mariadb 10.3
Image driver and version
No response
Installed plugins and versions
"craftcms/ckeditor": "^4.0.3", "craftcms/cms": "^5.0.0", "craftcms/contact-form": "^3.1.0", "craftcms/contact-form-honeypot": "^2.1.0", "craftcms/google-cloud": "^2.2.0", "craftcms/mailgun": "^3.1.0", "craftpulse/craft-colour-swatches": "^5.0.2", "hybridinteractive/craft-contact-form-extensions": "^5.0.0", "mmikkel/cp-field-inspect": "^2.0.1", "nystudio107/craft-retour": "^5.0.3", "nystudio107/craft-seomatic": "^5.1.1", "nystudio107/craft-vite": "^5.0.0-beta.3", "putyourlightson/craft-elements-panel": "^3.0.0-beta.1", "putyourlightson/craft-sherlock": "^5.0.0-beta.3", "putyourlightson/craft-sprig": "^3.0.0", "spacecatninja/imager-x": "^5.0.0-beta.2", "spacecatninja/imager-x-imageboss-transformer": "^3.0.0", "verbb/expanded-singles": "^3.0.0-beta.2", "verbb/hyper": "2.0.4", "verbb/image-resizer": "^4.0.0-beta.1", "vlucas/phpdotenv": "^5.4.0"