- πΊπΈUnited States jmouse888
Somehow I'm getting this error while using unique on Entity Reference fields. Two content types were set up with fields using Entity Reference and were working for the past few months on my devel site. Today all of the sudden, the unique constrain stopped working and I'm getting this (or similar) error in the status log. User are able to create new content with the same field value set to be unique. My specific error is "Warning: Illegal string offset 'target_id' in unique_field_ajax_validate_unique() (line 572 of ...../modules/contrib/unique_field_ajax/unique_field_ajax.module)"
Running D9.5.9 and Unique Field Ajax 2.1.2
- πΊπΈUnited States dmundra Eugene, OR
Interesting @jmouse888, for this line https://git.drupalcode.org/project/unique_field_ajax/-/blob/2.1.2/unique... in your site can you output what is the structure of
$value
?