Hi. I have a drupal 8 website. The website is completely ok by visitors, and every page is visible. But if I try to access to backend I always have following error.
I cannot access any page, also when I try to access the user account page.
How can I solve?
I don't have DRUSH and I cannot access website! The only thing I can do is access via ftp to the root or via phpmyadmin to database, but I don't know how to repair this issue from the database ..
Anyone can help?

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "easy_breadcrumb.general_settings_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 187 of core/lib/Drupal/Core/Routing/RouteProvider.php).
Drupal\Core\Routing\UrlGenerator->getRoute('easy_breadcrumb.general_settings_form') (Line: 121)
Drupal\Core\Routing\UrlGenerator->getPathFromRoute('easy_breadcrumb.general_settings_form', Array) (Line: 68)
Drupal\Core\Render\MetadataBubblingUrlGenerator->getPathFromRoute('easy_breadcrumb.general_settings_form', Array) (Line: 772)
Drupal\Core\Url->getInternalPath() (Line: 129)
Drupal\Core\Utility\LinkGenerator->generate('Easy Breadcrumb', Object) (Line: 94)
Drupal\Core\Render\Element\Link::preRenderLink(Array)
call_user_func(Array, Array) (Line: 381)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 468)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_a635821f5ef115e27ed949e2c2ff033538d465edea1f20cf1d69b6d0a57fbb1e->getmenu_links(Array, Object, 1) (Line: 112)
__TwigTemplate_a635821f5ef115e27ed949e2c2ff033538d465edea1f20cf1d69b6d0a57fbb1e->getmenu_links(Array, Object, 0) (Line: 48)
__TwigTemplate_a635821f5ef115e27ed949e2c2ff033538d465edea1f20cf1d69b6d0a57fbb1e->doDisplay(Array, Array) (Line: 381)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 355)
Twig_Template->display(Array) (Line: 366)
Twig_Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/navigation/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: 381)
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: 381)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 448)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 468)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 86)
__TwigTemplate_b75bbda3f525736abc90393fbbe65aea000ac0dd13606b86d4cdb612844c3e38->doDisplay(Array, Array) (Line: 381)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 355)
Twig_Template->display(Array) (Line: 366)
Twig_Template->render(Array) (Line: 64)
twig_render_template('core/themes/classy/templates/layout/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: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 62)
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: 98)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 77)
Drupal\page_cache\StackMiddleware\PageCache->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: 628)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)"

Comments

eletomm created an issue. See original summary.

Greg Boggs’s picture

Can you run a cache clear? I'm not 100% sure how it works in D8, but in D7, you could clear the cache by emptying the cache tables in the database. However, it would be much preferred to use the cache clear button in the dashboard or command line.

eletomm’s picture

Update, cache clear...I cannot access any function!
I am pretty sure, since I don't have drush or drupal console, that I have to work directly on the database table..but I don'k know what table I have to search and what to do!!!

Greg Boggs’s picture

In that case, I would download your database to your local computer. Clear the cache with drush and then upload the database again. I tried to find directions on how to clear the cache from the database, but all I found was the Drupal 7 directions and I don't want to give you advice that will break your site.

eletomm’s picture

thanks. Since I have not experience with this, I'd like if you could confirm the best practice:

1- I download database locally but also the entire folder with all files of the website, I suppose..that's right?
2- when i have the website installed on my local computer I have to instal drush in the root of it?
3-what is the command i have to launch with drush?
Sorry for my stupid question....Thank you!

Greg Boggs’s picture

Yep.

This might help you get set up locally: https://www.drupalvm.com/

The command is drush CC all.

renatog’s picture

Status: Active » Reviewed & tested by the community

Perfect. #6 really make sense, and works good.

renatog’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for help @Greg

@eletomm; any question please comment ok.

Best,

eletomm’s picture

Hi everybody and thanks for all!
Unfortunately nothing is working. Just clearing all the cache, but still have following error.
Any other ideas?
Thank you so much!
"Symfony\Component\Routing\Exception\RouteNotFoundException: Route "easy_breadcrumb.general_settings_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 187 of core/lib/Drupal/Core/Routing/RouteProvider.php).
Drupal\Core\Routing\UrlGenerator->getRoute('easy_breadcrumb.general_settings_form') (Line: 121)
Drupal\Core\Routing\UrlGenerator->getPathFromRoute('easy_breadcrumb.general_settings_form', Array) (Line: 68)
Drupal\Core\Render\MetadataBubblingUrlGenerator->getPathFromRoute('easy_breadcrumb.general_settings_form', Array) (Line: 772)
Drupal\Core\Url->getInternalPath() (Line: 129)
Drupal\Core\Utility\LinkGenerator->generate('Easy Breadcrumb', Object) (Line: 94)
Drupal\Core\Render\Element\Link::preRenderLink(Array)
call_user_func(Array, Array) (Line: 381)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 468)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_a635821f5ef115e27ed949e2c2ff033538d465edea1f20cf1d69b6d0a57fbb1e->getmenu_links(Array, Object, 1) (Line: 112)
__TwigTemplate_a635821f5ef115e27ed949e2c2ff033538d465edea1f20cf1d69b6d0a57fbb1e->getmenu_links(Array, Object, 0) (Line: 48)
__TwigTemplate_a635821f5ef115e27ed949e2c2ff033538d465edea1f20cf1d69b6d0a57fbb1e->doDisplay(Array, Array) (Line: 381)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 355)
Twig_Template->display(Array) (Line: 366)
Twig_Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/navigation/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: 381)
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: 381)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 448)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 468)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 86)
__TwigTemplate_b75bbda3f525736abc90393fbbe65aea000ac0dd13606b86d4cdb612844c3e38->doDisplay(Array, Array) (Line: 381)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 355)
Twig_Template->display(Array) (Line: 366)
Twig_Template->render(Array) (Line: 64)
twig_render_template('core/themes/classy/templates/layout/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: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 62)
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: 98)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 77)
Drupal\page_cache\StackMiddleware\PageCache->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: 628)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)"

renatog’s picture

Whats version you are using? 8.x-1.6?

Can you check if exists update in your update.php, please?!

eletomm’s picture

Hi! I cannot access administration page. Drupal version = '8.1.10'

Cannot execute update.php or any other action. Also I cannot access administration page.
Only have access via ftp

renatog’s picture

Hi @eletomm, how are you?

I understand.

And what version of Easy Breadcrumb you are using? The version of easy_breadcrumb is 8.x-1.6?

eletomm’s picture

HI renato! the versione of easy Breadcrumb was version: '8.x-1.0', but now there is no folder with this module! Now I don't remember for what reason but I delated the folder of that module...

renatog’s picture

I understand.

Please follow this steps:

Update your easy_breadcrumb for 8.x-1.6 version https://ftp.drupal.org/files/projects/easy_breadcrumb-8.x-1.6.zip
Clear all caches
Try again

Please make this test. It will work good for you too.

Good Work and Good Weekend.

Best,

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

fabiansierra5191’s picture

I think it's a bit odd re-open a issue from some months ago.
I just installed the module and I got the error

I executed`drush pm:uninstall easy_breadcrumb`
And, `drush cr` like most of the comments suggested but the error is stills happens

In RouteProvider.php line 201:
                                                                 
  Route "easy_breadcrumb.general_settings_form" does not exist. 

I suggest that this need to be check again I used the lasted available version 8.x-1.12 with Drupal 8.7.x

dshumaker’s picture

Linking to new issue since this is still an issue and is not fixed.
https://www.drupal.org/project/easy_breadcrumb/issues/3087900

Greg Boggs’s picture

This issue from 2 years ago. It was a person who didn't know how to run update.php or drush clear caches when their cache was invalid. Are you also unable to clear your cache?

Just to be sure there are no issues installing on the latest version of Drupal, I installed the module on Simply Test Me with your exact version of Drupal core:

https://stm5da4f94c83396-wecrmah3gqag8wcwx6yw1urainyfcgu2.tugboat.qa/

I believe the instance will be up for 24 hours. If you're able to replicate the your cache issue on Simply Test Me, I will take a look.

dshumaker’s picture

Hi Greg,
Clearing cache doesn't fix the issue. There were no updates to run either. I'll see if I can reproduce it outside my environment.

dshumaker’s picture

@gregg-boggs , well you're right, I tested it on a generic https://github.com/phase2/octane-ci site and it worked fine.

Even though my site is a child of the octane-ci repo, we must have installed a module that is incompatible with easy_breadcrumb. I'll post back here if I have time to reverse engineer which module is causing the issue.