Closed dolphiq-allard closed 3 days ago
Hi, thanks for reporting! I raised a PR for this.
No worries, thanks for the swift reply!
This issue also affects Matrix fields on non-primary sites. When I attempt to add a new Matrix entry in a secondary site, I encounter the following errors:
Attempting to save an element in an unsupported site.
Invalid owner ID: 2313
This behavior seems consistent with the issue described above and occurs in both production and development environments.
Downgrading to Craft 5.5.0.1
appears to have resolved the issue for now.
Aaah just found this. I had found the older issue first. Yes, I'm getting this too in 5.5.2. Reverting seems to fix the issue too.
Craft 5.5.3 is out with the fix for this. Thanks again!
What happened?
Description
Craft 5.5.2 throws an error (
Attempting to save an element in an unsupported site
) when trying to add an entry in a CKEditor field.In a multi-lingual site I can add entries within the CKEditor field in the main language, however, in the secondary language, an error is thrown and the entry is not added to the CKEditor field. This error was introduced somewhere between version 5.1.x and 5.5.x. I've added multiple entries within the CKEditor field before upgrading to the latest version.
Error from log files:
This error is thrown both on production and on the development environment (DDEV)
Steps to reproduce
Expected behavior
The entry is added to the CKEditor field, and can be edited by double clicking it.
Actual behavior
A toast stating
A server error occurred.
appears and nothing else happens. The error above is logged in the logfiles.Craft CMS version
5.5.2
PHP version
8.3.13
Operating system and version
Linux 5.10.0-32-amd64
Database type and version
MariaDB 10.6.20
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
-