php - Route "entity.post.collection" does not exist drupal 8 -
i'm still new in drupal 8 working in project when cleared cash compile of modification error :
website encountered unexpected error. please try again later. symfony\component\routing\exception\routenotfoundexception: route "entity.post.collection" not exist. in drupal\core\routing\routeprovider->getroutebyname() (line 190 of core\lib\drupal\core\routing\routeprovider.php). drupal\core\routing\urlgenerator->getroute('entity.post.collection') (line: 128) drupal\core\routing\urlgenerator->getpathfromroute('entity.post.collection', array) (line: 68) drupal\core\render\metadatabubblingurlgenerator->getpathfromroute('entity.post.collection', array) (line: 790) drupal\core\url->getinternalpath() (line: 135) drupal\core\utility\linkgenerator->generate('posts', object) (line: 94) drupal\core\render\element\link::prerenderlink(array) call_user_func(array, array) (line: 376) drupal\core\render\renderer->dorender(array, ) (line: 195) drupal\core\render\renderer->render(array) (line: 490) drupal\core\template\twigextension->escapefilter(object, array, 'html', null, 1) (line: 105) __twigtemplate_76913508025720010150bc76ecbf64e3bbfe28feb4cc1fc39f6560517586a2cc->getmenu_links(array, object, 0) (line: 48) __twigtemplate_76913508025720010150bc76ecbf64e3bbfe28feb4cc1fc39f6560517586a2cc->dodisplay(array, array) (line: 432) twig_template->displaywitherrorhandling(array, array) (line: 403) twig_template->display(array) (line: 411) twig_template->render(array) (line: 64) twig_render_template('core/modules/toolbar/templates/menu--toolbar.html.twig', array) (line: 384) drupal\core\theme\thememanager->render('menu__toolbar__admin', array) (line: 435) drupal\core\render\renderer->dorender(array, 1) (line: 195) drupal\core\render\renderer->render(array, 1) (line: 151) drupal\core\render\renderer->drupal\core\render\{closure}() (line: 574) drupal\core\render\renderer->executeinrendercontext(object, object) (line: 152) drupal\core\render\renderer->renderplain(array) (line: 327) _toolbar_do_get_rendered_subtrees(array) call_user_func('_toolbar_do_get_rendered_subtrees', array) (line: 376) drupal\core\render\renderer->dorender(array, 1) (line: 195) drupal\core\render\renderer->render(array, 1) (line: 151) drupal\core\render\renderer->drupal\core\render\{closure}() (line: 574) drupal\core\render\renderer->executeinrendercontext(object, object) (line: 152) drupal\core\render\renderer->renderplain(array) (line: 297) toolbar_get_rendered_subtrees() (line: 355) _toolbar_get_subtrees_hash() (line: 167) toolbar_toolbar() call_user_func_array('toolbar_toolbar', array) (line: 402) drupal\core\extension\modulehandler->invokeall('toolbar') (line: 81) drupal\toolbar\element\toolbar::prerendertoolbar(array) call_user_func(array, array) (line: 376) drupal\core\render\renderer->dorender(array) (line: 448) drupal\core\render\renderer->dorender(array, ) (line: 195) drupal\core\render\renderer->render(array) (line: 490) drupal\core\template\twigextension->escapefilter(object, array, 'html', null, 1) (line: 107) __twigtemplate_7f08c5388aa10728e8ff2a2f40cf4dd30703d0cd743b7b9d43de1a13f0a662d8->dodisplay(array, array) (line: 432) twig_template->displaywitherrorhandling(array, array) (line: 403) twig_template->display(array) (line: 411) twig_template->render(array) (line: 64) twig_render_template('themes/custom/maghribcom/templates/system/html.html.twig', array) (line: 384) drupal\core\theme\thememanager->render('html', array) (line: 435) drupal\core\render\renderer->dorender(array, ) (line: 195) drupal\core\render\renderer->render(array) (line: 147) drupal\core\render\maincontent\htmlrenderer->drupal\core\render\maincontent\{closure}() (line: 574) drupal\core\render\renderer->executeinrendercontext(object, object) (line: 148) drupal\core\render\maincontent\htmlrenderer->renderresponse(array, object, object) (line: 90) drupal\core\eventsubscriber\maincontentviewsubscriber->onviewrenderarray(object, 'kernel.view', object) (line: 111) drupal\component\eventdispatcher\containerawareeventdispatcher->dispatch('kernel.view', object) (line: 149) symfony\component\httpkernel\httpkernel->handleraw(object, 1) (line: 64) symfony\component\httpkernel\httpkernel->handle(object, 1, 1) (line: 57) drupal\core\stackmiddleware\session->handle(object, 1, 1) (line: 47) drupal\core\stackmiddleware\kernelprehandle->handle(object, 1, 1) (line: 47) drupal\core\stackmiddleware\reverseproxymiddleware->handle(object, 1, 1) (line: 50) drupal\core\stackmiddleware\negotiationmiddleware->handle(object, 1, 1) (line: 23) stack\stackedhttpkernel->handle(object, 1, 1) (line: 656) drupal\core\drupalkernel->handle(object) (line: 19)
had same problem when desactivated cache in backup of database let cache desactivated, think maybe it's problem data table router, still have no idea do.
Comments
Post a Comment