- Issue created by @dahousecat
Thanks for the patch. Can we get a merge request against the 11.x branch please?
- First commit to issue fork.
- 🇺🇸United States smustgrave
Think we will need steps of what caused the failure
In \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent
getTitle() & getDescription() both call getEntity().
getEntity can throw a PluginException, which if thrown will take the whole site offline.
Both of these methods have fallback values, so if it's not possible to get the entity the fallback value should be returned instead of throwing a fatal error.
I encountered this after a failed production deployment. I am not sure exactly what caused the error as I quickly rolled the deployment back.
Add try catch in getTitle and getDescription.
Active
10.2 ✨
menu system
Thanks for the patch. Can we get a merge request against the 11.x branch please?
Think we will need steps of what caused the failure