- Status changed to Fixed
almost 2 years ago 10:19pm 2 April 2023 - 🇳🇿New Zealand dieuwe Auckland, NZ
Thanks for this fix, have committed it.
Automatically closed - issue fixed for 2 weeks with no activity.
Fix PHP fatal error when trying to edit a condition that references a deleted term
1. Create a condition (e.g. in a block visibility group) that references a given term.
2. Delete the term from Taxonomies > List Terms page.
3. Try to edit the condition created at 1. You will receive error:
Call to a member function getName() on null in Drupal\term_condition\Plugin\Condition\Term->summary() (line 201 of modules/contrib/term_condition/src/Plugin/Condition/Term.php).
Check if term exists before calling getName()
1. Test patch.
2. Merge patch.
None.
None.
None.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thanks for this fix, have committed it.
Automatically closed - issue fixed for 2 weeks with no activity.