- Issue created by @eduardo barros
- 🇮🇳India ravis
Hello,
Update the base theme TheX to version 10.0.3 and clear cache.
https://www.drupal.org/project/thex →
And clear cache.
example.com/admin/config/development/performance
Regards:
Ravi - Status changed to Fixed
over 1 year ago 8:29pm 8 September 2023 - 🇵🇹Portugal eduardo barros
Hello!
That was it!
Thank you Ravi!
Best regards.
- Status changed to Fixed
over 1 year ago 8:30pm 8 September 2023 ce matin j'ai effectué les mises à jour de mon site, et le site s est planté.
j ai redémaré l'ordinateur et impossible d'entrer même dans la page user/login. je suis bloqué alors que je dois passer mon examen jeudi. help meTwig\Error\LoaderError: Template "@thex/template-parts/header/header-primary-menu.html.twig" is not defined in "@edux/template-parts/header/header.html.twig" at line 25. in Twig\Loader\ChainLoader->getCacheKey() (line 99 of vendor/twig/twig/src/Loader/ChainLoader.php).
Twig\Environment->getTemplateClass('@thex/template-parts/header/header-primary-menu.html.twig', NULL) (Line: 204)
Drupal\Core\Template\TwigEnvironment->getTemplateClass('@thex/template-parts/header/header-primary-menu.html.twig') (Line: 319)
Twig\Template->loadTemplate('@thex/template-parts/header/header-primary-menu.html.twig', '@edux/template-parts/header/header.html.twig', 25) (Line: 91)
__TwigTemplate_99065472318721a57297c332eb37c8cb->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 39)
__TwigTemplate_c26f1e17a121a1bc6b841d12a7d78235->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/edux/templates/layout/page.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 477)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 120)
__TwigTemplate_2262f626cbac5c88005794301ecbaa06->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/edux/templates/layout/html.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
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: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 168)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 74)
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: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
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: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 686)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)- 🇮🇳India ravis
@dorianmab
Hello,Update the base theme TheX to version 10.0.4 and clear cache.
TheX Theme
https://www.drupal.org/project/thex →Clear cache.
example.com/admin/config/development/performance
Translation:
Mettez à jour le thème de base TheX vers la version 10.0.4 et videz le cache.
https://www.drupal.org/project/thex → Merci pour la réponse.
Je suis vraiment emmerdé parcequ'il m est impossible d'afficher la page login pour me connecter et effectuer la mise à jour du thème.- 🇮🇳India ravis
Use composer or FTP to update TheX theme.
How to update theme using composer.
composer require 'drupal/thex:^10.0'
How to update theme using FTP:
1) Login to your hosting server using FTP.
2) Delete thex theme folder.
3) Upload new version of thex theme.Translation:
Utilisez composer ou FTP pour mettre à jour le thème TheX.Comment mettre à jour le thème à l'aide de Composer.
composer require 'drupal/thex:^10.0'
Comment mettre à jour le thème via FTP :
1) Connectez-vous à votre serveur d'hébergement via FTP.
2) Supprimez le dossier du thème X.
3) Téléchargez la nouvelle version du thème x. - 🇮🇳India satinder
I tried all versions form theme, but none worked, so create a menu--main.html.twig(which was missing) file by copying from menu--main.html.twig. I know this is not the correct way, but my site starts showing content with this.