- Issue created by @gaurav_manerkar
- 🇺🇸United States apmsooner
I'm not seeing these errors. I can only suggest going into manage fields and resaving your field assuming perhaps something is out of sync in your config. Otherwise, this error should never evaluate to NULL. $allowed_values here in the code is always going to be an array and $index is either gonna return the found key or FALSE. This only suggests to me that the part that is failing for you is perhaps the 'value' key that gets stored in config. So... resave your field settings is my suggestion.
RE: https://git.drupalcode.org/project/custom_field/-/blob/3.1.x/src/Plugin/...