Error: Call to a member function id() on boolean in modules/contrib/inline_entity_form/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php on line 779

how to replicate, I am enabled views bulk edit module and Inline Entity Form module. From views bulk edit action, I selected entity reference field. Inline entity form loaded the field and entered the value and saved the field. When I try to remove the form. we are getting above error.

CommentFileSizeAuthor
#3 2941274-call-to-id-on-boolean-3.patch890 bytesmattjones86

Comments

suresh kumara created an issue. See original summary.

mattjones86’s picture

Yeah I'm getting this too.

mattjones86’s picture

Status: Active » Needs review
StatusFileSize
new890 bytes

Not sure if this is the best way to fix it, but this patch fixes it for me.

chris matthews’s picture

Version: 8.x-1.0-beta1 » 8.x-1.x-dev

  • podarok committed 766ead75 on 2.0.x authored by mattjones86
    Issue #2941274 by mattjones86, Chris Matthews: Error: Call to a member...
podarok’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
Status: Needs review » Fixed

tnx

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

geek-merlin’s picture

Version: 2.0.x-dev » 3.0.0-rc15
Status: Closed (fixed) » Needs work
Related issues: +#3401656: Clean up problematic 2.x branch

Bulk reopen.

geek-merlin’s picture

Status: Needs work » Postponed (maintainer needs more info)

Review:
- Last report is 5 years old. can this still be reproduced with core and ief alone?
- Is this really an IEF error, not a bandaid for sth else?
- If yes, please clean up the code.

geek-merlin’s picture

Version: 3.0.0-rc15 » 3.x-dev