Closed (fixed)
Project:
Entity Embed Link
Version:
2.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2022 at 22:07 UTC
Updated:
9 Mar 2024 at 01:34 UTC
Jump to comment: Most recent
Getting the following error when adding entity embed node CKEDITOR widget.
Error: Call to a member function getValue() on null in entity_embed_link_form_entity_embed_dialog_alter() (line 23 of /var/www/web/modules/contrib/entity_embed_link/entity_embed_link.module)
- Add Entity embed Media along with Entity embed node widgets to your CKEditor
- Add content to a body with the CKEditor that has entity embed node and entity embed media widgets
- Click the (E) icon for the entity embed node and search for a node
- Hit next
- Should not be able to proceed and get a ajax error in the browser console
The attached patch adds another check for $media_entity->bundle
| Comment | File | Size | Author |
|---|---|---|---|
| 2877060-1.patch | 713 bytes | andysipple |
Comments
Comment #3
berramou commentedComment #4
berramou commented