Used Not Referenced Report Generates Error missing link template for Paragraphs
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3339733. -->
Reported by: [greggmarshall](https://www.drupal.org/user/84148)
Related to !33 !21
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When I select the Used Not Referenced report via the admin menu, I get a PHP error:</p>
<pre>The website encountered an unexpected error. Please try again later.<br><br>Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'canonical' found for the 'paragraphs_type' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 196 of core/lib/Drupal/Core/Entity/EntityBase.php).<br>Drupal\Core\Config\Entity\ConfigEntityBase->toUrl('canonical') (Line: 244)<br>Drupal\Core\Entity\EntityBase->toLink('dojo_block_quote') (Line: 154)<br>Drupal\auditfiles\Form\AuditFilesUsedNotReferencedForm->Drupal\auditfiles\Form\{closure}(Array, Object)<br>array_reduce(Array, Object) (Line: 183)<br>Drupal\auditfiles\Form\AuditFilesUsedNotReferencedForm->buildListForm(Array, Object) (Line: 21)<br>Drupal\auditfiles\Form\AuditFilesUsedNotReferencedForm->buildForm(Array, Object)<br>call_user_func_array(Array, Array) (Line: 534)<br>Drupal\Core\Form\FormBuilder->retrieveForm('audit_files_used_not_referenced', Object) (Line: 281)<br>Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)<br>Drupal\Core\Controller\FormController->getContentResult(Object, Object)<br>call_user_func_array(Array, Array) (Line: 123)<br>Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)<br>Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)<br>Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)<br>Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)<br>Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)<br>Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)<br>Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)<br>Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)<br>Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)<br>Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)<br>Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)<br>Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 49)<br>Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object, 1, 1) (Line: 23)<br>Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 713)<br>Drupal\Core\DrupalKernel->handle(Object) (Line: 19)</pre><p>
Drupal 9.5.2 running on PHP 8.0.26. From the traceback reference to paragraphs something related to that?</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p> Select the Used Not Referenced report via the admin menu</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue