- Issue created by @mohammad-fayoumi
- Status changed to Needs review
2 months ago 1:47pm 8 September 2024 - 🇧🇪Belgium swentel
Patch makes sense I guess. To be sure: which Drupal core version is this on, D11 of D10?
- 🇵🇭Philippines paraderojether
Hi mohammad-fayoumi,
I was not able to reproduce the issue, my Drupal version is 10.3.2 with PHP version 8.3.6, can you please specify in what Drupal core version the issue occurred?
Thank you.
- 🇯🇴Jordan mohammad-fayoumi Amman
I've encountered this issue with:
- Drupal Version 10.3.2
- PHP Version 8.2.23
- Status changed to Postponed: needs info
2 months ago 9:40am 18 September 2024 - 🇧🇪Belgium swentel
Hmm, this would mean that this line would return nothing.
$row = \Drupal::config($name)->get();
Can you tell me the machine name of the vocabulary? Or maybe additional view modes that you have created?
- 🇯🇴Jordan mohammad-fayoumi Amman
I have a taxonomy with machine name and once I visit it's the manage display I got the reported error.
The website encountered an unexpected error. Try again later. Error: Call to a member function label() on null in _ds_field_ui_table_layouts() (line 903 of modules/contrib/ds/includes/field_ui.inc).
After some debugging I found this line return empty array.
$row = \Drupal::config($name)->get();
The issue appeared on visiting the default view mode.
- Status changed to Active
2 months ago 1:24pm 18 September 2024 - 🇧🇪Belgium swentel
Ok, thanks for the information! There might be a bug in core that fails to create the actual entity display maybe, however, we shouldn't fail on that of course. I have a different approach in my mind which I'll fix tomorrow.