Uncaught CKEditorError: Cannot convert undefined or null to object

Created on 20 June 2025, 13 days ago

Problem/motivation

Can't use the Linkit Plugin since last update! The console throws this error:
ckeditor5-dll.js?v=45.2.0:5 Uncaught CKEditorError: Cannot convert undefined or null to object
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#erro... convert undefined or null to object
at Object.assign ()
at _. (linkit.js?sy5hz8:1:6667)
at _. (ckeditor5-dll.js?v=45.2.0:5:638136)
at _.fire (ckeditor5-dll.js?v=45.2.0:5:639290)
at [as execute] (ckeditor5-dll.js?v=45.2.0:5:642831)
at f.execute (ckeditor5-dll.js?v=45.2.0:5:163419)
at w.execute (ckeditor5-dll.js?v=45.2.0:5:172622)
at W. (link.js?v=45.2.0:5:39006)
at W.fire (ckeditor5-dll.js?v=45.2.0:5:639290)
at Ae. (ckeditor5-dll.js?v=45.2.0:5:870314)
rethrowUnexpectedError @ ckeditor5-dll.js?v=45.2.0:5
fire @ ckeditor5-dll.js?v=45.2.0:5
@ ckeditor5-dll.js?v=45.2.0:5
execute @ ckeditor5-dll.js?v=45.2.0:5
execute @ ckeditor5-dll.js?v=45.2.0:5
(anonymous) @ link.js?v=45.2.0:5
fire @ ckeditor5-dll.js?v=45.2.0:5
(anonymous) @ ckeditor5-dll.js?v=45.2.0:5
fire @ ckeditor5-dll.js?v=45.2.0:5
t @ ckeditor5-dll.js?v=45.2.0:5

Steps to reproduce

  1. Update to Drupal core 11.2.0 and Linkit 7.0.4
  2. Try to add a link
  3. When clicking 'insert' nothing happens and the console throws an JS Error
  4. After uninstalling Linkit the link insert button is working again

Proposed resolution

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
πŸ› Bug report
Status

Active

Version

7.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland suldan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024