backdrop-contrib / reference

Defines a field to allow Backdrop entities to reference each other.
GNU General Public License v2.0
4 stars 6 forks source link

Autocomplete not returning results #72

Closed jenlampton closed 3 years ago

jenlampton commented 3 years ago

I just tested the autocomplete reference field on 2 of my existing sites, and it does not return any results. It does return results on a fresh Backdrop install. I'm going to use this ticket to try to determine what's different about these two sites that might be causing the problem

Site 1: Reference field config

Site 2: Reference field config

While trying to export the field config on both sites, I see the following errors:

Notice: Trying to access array offset on value of type null in field_config_label_instance() (line 435 of backdrop/core/modules/field/field.module).
jenlampton commented 3 years ago

Switching to using a view on both sites resulted in results being returned again.

jenlampton commented 3 years ago

I found some problems with fields on both site. Fixing the issues with fields solved this issue.