- Issue created by @ricardopeters
- Status changed to Needs review
7 months ago 9:46am 11 June 2024
When a entity no longer exists, but the URL is still in some search results, or peoples favorites.
The page returns a 500 error:
Call to a member function access() on null in Drupal\media_download_all\Controller\DownloadController->access()
Check if we actually have an entity, and it seems to be a common use case to just return forbidden in that case.
Add the entity isset check
Needs review
2.0
Code