Problem/Motivation

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)

Steps to reproduce

- 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

Proposed resolution

The attached patch adds another check for $media_entity->bundle

CommentFileSizeAuthor
2877060-1.patch713 bytesandysipple

Comments

AndySipple created an issue. See original summary.

  • berramou committed 9c28f8e2 on 2.0.x
    Issue #3304402: Error: Call to a member function getValue() on null in...
berramou’s picture

Status: Active » Fixed
berramou’s picture

Status: Fixed » Closed (fixed)