- Issue created by @jayprakash.kushwah
- Assigned to abhishek_virasat
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 7:26am 15 April 2024 - Status changed to Active
over 1 year ago 7:42am 15 April 2024 - 🇮🇳India jayprakash.kushwah India
entity_browser-3440973.patch patch is working fine.
- Status changed to RTBC
over 1 year ago 7:43am 15 April 2024 - Status changed to Needs work
12 months ago 3:53pm 10 August 2024 - 🇨🇭Switzerland berdir Switzerland
This will just silently hide the notice, but the module won't properly work then I think, so needs clearer steps on how to reproduce.
- 🇨🇦Canada danrod Ottawa
I got the same error on a fresh Drupal 11.1.4 install:
1. Added a new image field for the "Article" content type.
2. In the Form Display Manager, I set that field to use the "Entity Field" widget.
3. if I try to add an article (/node/add/article) I get the same error. - 🇯🇵Japan bassline
I installed the entity_browser module in Drupal 10.4.5.
After switching to entity_browser in the content type form display management, I got the same error in the content edit screen.
After applying the #4 patch, I am now able to edit content on the content edit screen. - 🇮🇳India vipin.mittal18 Greater Noida
I faced the same issue, but applying the patch resolved it and unblocked me from creating content.
- Status changed to RTBC
2 months ago 7:02am 23 May 2025 - 🇩🇪Germany michaellenahan
I got this error, because no entity browser was selected for the field.
Make sure your entity browser instance is set up correctly:
admin/config/content/entity_browser
... then add the entity browser instance to your field
See screenshot:
https://www.drupal.org/files/issues/2025-05-23/2025-05-23-08.59.28-34409... →admin/structure/types/manage/page/form-display
No entity browser selected - First commit to issue fork.
- 🇺🇸United States neclimdul Houston, TX
Ran into this as well. Reviewing the merge request, the two if statements are just approximating an empty check so simplified it.
Here are the steps I used to recreate this.
1. Create a media field on a node or paragraph if you don't have one to test. It doesn't seem to matter where it exists.
2. On the "Manage form display" tab select "autocomplete" for the widget and save.
3. Now set it back to entity browser and save without expanding the gear and setting up the field.Without the patch, at this point two things are broken throwing both an undefined array key warning and a fatal type error.
1. From the manage fields tab editing the field is broken.
2. The node form or paragraph addition form seem to also be broken.With the patch everything is fine
1. Manage fields is normal. I don't see any use widget language so this call might not be strictly necessary.
2. The form "works" but the user is presented with "Entity browser not found. You can select one media item." which would prompt a developer to fix the form display.