- First commit to issue fork.
- @omahm opened merge request.
- Status changed to Fixed
about 1 year ago 9:58am 10 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.
If a user visits a path /node/1234/whatlinkshere, but that node 1234 has been deleted, the user is shown a WSOD with a php error message:
TypeError: Drupal\whatlinkshere\LinkManager::getReferenceContent(): Argument #1 ($entity) must be of type Drupal\Core\Entity\EntityInterface, null given, called in /home/gwulocom/domains/gwulo.com/public_html/web/modules/contrib/whatlinkshere/src/Controller/WhatLinksHereController.php on line 120 in Drupal\whatlinkshere\LinkManager->getReferenceContent() (line 300 of /home/gwulocom/domains/gwulo.com/public_html/web/modules/contrib/whatlinkshere/src/LinkManager.php)
Could they see a "404 Page not found" instead?
Fixed
2.1
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.