Exception: Route "schemadotorg_jsonld_endpoint.taxonomy_vocabulary" does not exist

Created on 21 June 2023, over 1 year ago
Updated 26 June 2023, over 1 year ago

Go to a schema.org taxonomy page :

got error : The website encountered an unexpected error. Please try again later.
how to resolve this issue ?

Stack trace :

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "schemadotorg_jsonld_endpoint.taxonomy_vocabulary" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of core/lib/Drupal/Core/Routing/RouteProvider.php).
Drupal\Core\Routing\UrlGenerator->getRoute('schemadotorg_jsonld_endpoint.taxonomy_vocabulary') (Line: 270)
Drupal\Core\Routing\UrlGenerator->generateFromRoute('schemadotorg_jsonld_endpoint.taxonomy_vocabulary', Array, Array, 1) (Line: 105)
Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('schemadotorg_jsonld_endpoint.taxonomy_vocabulary', Array, Array, ) (Line: 765)
Drupal\Core\Url->toString() (Line: 137)
Drupal\schemadotorg_taxonomy\SchemaDotOrgTaxonomyJsonLdManager->preprocessHtml(Array) (Line: 64)
schemadotorg_taxonomy_preprocess_html(Array, 'html', Array)
call_user_func_array('schemadotorg_taxonomy_preprocess_html', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 163)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

πŸ’¬ Support request
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024