Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Selecting "Entity ID" as the field formatter triggers a PHP notice in entityreference_field_formatter_settings_form() because $entity is not initialized.
Notice: Undefined variable: element in entityreference_field_formatter_settings_form() (line 1140 of [...]/sites/all/modules/contrib/entityreference/entityreference.module).
Comment | File | Size | Author |
---|---|---|---|
#1 | entityreference-entity-id-formatter-2065281-1.patch | 526 bytes | setvik |
Comments
Comment #1
setvik CreditAttribution: setvik commentedComment #2
setvik CreditAttribution: setvik commentedComment #3
afdigital CreditAttribution: afdigital commentedPatch works for me!
Comment #4
AnybodyPatch works and should be committed ASAP. :)
Comment #5
ssoulless CreditAttribution: ssoulless commentedCommit this patch PLEASE!!
Comment #6
oryx CreditAttribution: oryx commentedStill not commited unfortunately.
Comment #7
MorinLuc0 CreditAttribution: MorinLuc0 as a volunteer and at Coldfront Labs Inc. commentedThis has been committed to the dev version already. Marking as fixed new release is coming.