Got this on the usage page.
TypeError: Argument 1 passed to Drupal\entity_usage\Controller\ListUsageController::getReferencingEntityLink() must implement interface Drupal\Core\Entity\ContentEntityInterface, null given, called in /app/web/modules/contrib/entity_usage/src/Controller/ListUsageController.php on line 166 in Drupal\entity_usage\Controller\ListUsageController->getReferencingEntityLink() (Zeile 154 in /app/web/modules/contrib/entity_usage/src/Controller/ListUsageController.php)
#0 /app/web/modules/contrib/entity_usage/src/Controller/ListUsageController.php(166): Drupal\entity_usage\Controller\ListUsageController->getReferencingEntityLink(NULL, '')
#1 /app/web/modules/contrib/entity_usage/src/Controller/ListUsageController.php(90): Drupal\entity_usage\Controller\ListUsageController->getReferencingEntityLink(Object(Drupal\paragraphs\Entity\Paragraph))
#2 [internal function]: Drupal\entity_usage\Controller\ListUsageController->listUsagePage('media', '63')
Based on the recursive calls, it looks like this is a paragraph with a broken parent. Which is not something that should happen but we have some bugs about that still.
Comment | File | Size | Author |
---|---|---|---|
#2 | entity-usage-missing-parent-2937865-2.patch | 943 bytes | Berdir |
Comments
Comment #2
BerdirThis should do the trick :)
Comment #4
BerdirTestbot had a (very) bad moment...
Comment #6
marcoscanoMakes sense, thanks!