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.
Hi,
Not sure if its a entity ref bug... but I encounter the error only when trying to create a new node without eg, field_ref=1,2. The error seems to go away with the parameter in the url.
Thanks!
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedAdding the 'commonslove' tag.
Comment #2
ezra-g CreditAttribution: ezra-g commentedI'm able to reproduce this (line 671 of entityreference.module) with the latest nightly dev in situations where no query string is provided or when reproducing #1811392: No values populated when 'Entity selection mode' is set to 'Organic groups'.
Comment #3
pvhee CreditAttribution: pvhee commentedConfirmed the error as well
Comment #4
don ferrando CreditAttribution: don ferrando commentedIn my setup, the warning is only dislayed, when the entityreference field widget is set to "autocomplete (tags style)" AND the parameters are not set by URL.
Comment #5
khanz CreditAttribution: khanz commentedLooks like these are similar issues.. #1522172: Invalid argument supplied for foreach in entityreference_field_widget_form()