Notice: Undefined index error: cache

Created on 23 December 2019, almost 5 years ago
Updated 20 October 2023, about 1 year ago

First of all, thank you for this amazing module!

Everything is working great, but I'm getting a lot of "Undefined index:cache", like the one below, errors both in the frontend and in the backoffice. These are visually annoying and don't go away after cleaning the caches. Can you help me here?

Notice: Undefined index: cache in Drupal\graphql_twig\Template\Loader\Loader->listComponents() (line 58 of modules/contrib/graphql_twig/src/Template/Loader/Loader.php).

Drupal\graphql_twig\Template\Loader\Loader->listComponents('core/themes/claro/components') (Line: 86)
Drupal\graphql_twig\Template\Loader\Loader->findTemplate('core/themes/claro/templates/misc/status-messages.html.twig', ) (Line: 181)
Twig\Loader\FilesystemLoader->exists('core/themes/claro/templates/misc/status-messages.html.twig') (Line: 131)
Twig\Loader\ChainLoader->getCacheKey('core/themes/claro/templates/misc/status-messages.html.twig') (Line: 351)
Twig\Environment->getTemplateClass('core/themes/claro/templates/misc/status-messages.html.twig', NULL) (Line: 143)
Drupal\Core\Template\TwigEnvironment->getTemplateClass('core/themes/claro/templates/misc/status-messages.html.twig') (Line: 445)
Twig\Environment->loadTemplate('core/themes/claro/templates/misc/status-messages.html.twig') (Line: 64)
twig_render_template('core/themes/claro/templates/misc/status-messages.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('status_messages', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 171)
Drupal\Core\Render\Renderer->renderPlaceholder('callback=Drupal%5CCore%5CRender%5CElement%5CStatusMessages%3A%3ArenderMessages&args%5B0%5D&token=_HAdUpwWmet0TOTe2PSiJuMntExoshbm1kh2wQzzzAA', Array) (Line: 693)
Drupal\big_pipe\Render\BigPipe->renderPlaceholder('callback=Drupal%5CCore%5CRender%5CElement%5CStatusMessages%3A%3ArenderMessages&args%5B0%5D&token=_HAdUpwWmet0TOTe2PSiJuMntExoshbm1kh2wQzzzAA', Array) (Line: 547)
Drupal\big_pipe\Render\BigPipe->sendPlaceholders(Array, Array, Object) (Line: 305)
Drupal\big_pipe\Render\BigPipe->sendContent(Object) (Line: 112)
Drupal\big_pipe\Render\BigPipeResponse->sendContent() (Line: 374)
Symfony\Component\HttpFoundation\Response->send() (Line: 20)
🐛 Bug report
Status

Fixed

Version

4.0

Component

User interface

Created by

🇵🇹Portugal tmsss

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024