- Status changed to Fixed
3 months ago 4:08pm 18 November 2024 Automatically closed - issue fixed for 2 weeks with no activity.
If the entity reference used for the link for some reason (entity was deleted) does no longer exist, field group link creates an exception:
Call to a member function toUrl() on null in Drupal\field_group_link\Plugin\field_group\FieldGroupFormatter\Link->getUrlFromField()
While it is probably bad habit to delete entities that are referenced elsewhere, this is something that can (easily) happen and should not result in WSOD imho.
Check if there is a valid entity reference (like there is already a check for a valid file entity if file is used) and skip the url generation if there is no valid entity reference
na
na
na
Needs review
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.