Skip to content

[5.4.0] "A server error occurred" when adding entry link #556

@mmikkel

Description

@mmikkel

Description

Since updating to CKEditor 5.4.0, whenever an entry is selected in the link modal an "A server error occurred" error toast appears.

Curiously, there doesn't seem to be an actual server error logged, but the devtools console lists this error message:

ckeditor5-craftcms.js:1365 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'siteDropdownView')
    at ckeditor5-craftcms.js:1365:61

This only happens on single site install; unable to reproduce on a multisite.

Image

Steps to reproduce

  1. Have a single-site Craft install
  2. Create an "Entry" link in a CKEditor field and select an entry in it

Additional info

  • Craft version: 5.9.18
  • PHP version:
  • Database driver & version:
  • Plugins & versions: CKEditor 5.4.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions