Bonjour à tous,
Depuis ce matin j'ai un problème sur mon site en effet lorsque j'essaye de fais quoi que ce soit dans le back office j'ai le message "Jeton (token) invalide: accéder à ce lien peut entraîner un éventuel problème de sécurité."
J'ai essayé de me mettre en mode debug et là je vois en back office
QuoteSymfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php (line 141)
RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 115)
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 214)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 44)
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 143)
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 127)
HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
Kernel->handle(object(Request), 1, false)in admin*********/index.php (line 82)
$request = Request::createFromGlobals();
Request::setTrustedProxies([], Request::HEADER_X_FORWARDED_ALL);
try {
require_once __DIR__.'/../autoload.php';
$response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, false);
$response->send();
$kernel->terminate($request, $response);
} catch (NotFoundHttpException $exception) {
define('ADMIN_LEGACY_CONTEXT', true);
// correct Apache charset (except if it's too late)
Symfony\Component\Routing\Exception\MethodNotAllowedException
in var/cache/dev/appDevDebugProjectContainerUrlMatcher.php (line 7780)
appDevDebugProjectContainerUrlMatcher->match('/configure/advanced/performance/debug-mode')in vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/UrlMatcher.php (line 93)
UrlMatcher->matchRequest(object(Request))in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line 262)
Router->matchRequest(object(Request))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php (line 113)
RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 115)
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 214)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 44)
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 143)
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 127)
HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
Kernel->handle(object(Request), 1, false)in admin*********/index.php (line 82)
$request = Request::createFromGlobals();
Request::setTrustedProxies([], Request::HEADER_X_FORWARDED_ALL);
try {
require_once __DIR__.'/../autoload.php';
$response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, false);
$response->send();
$kernel->terminate($request, $response);
} catch (NotFoundHttpException $exception) {
define('ADMIN_LEGACY_CONTEXT', true);
// correct Apache charset (except if it's too late)
et en front office j'ai
Quote1/1) ContextErrorException
Notice: Undefined index: type
in b4e24db0f4028ba1e13114d6b69cd13ce3940c22_2.module.wbmegamenuviewstemplatesh.php line 106
at content_64d0b8708091d1_20501251(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()in Module.php line 2490
at ModuleCore->fetch('module:wbmegamenu/views/templates/hook/wbmegamenu.tpl', 'wbmegamenu|1|1|1|1|1|8')in wbmegamenu.php line 1217
at WbMegamenu->renderWidget('displayNavfullWidth', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 1007
at HookCore::coreRenderWidget(object(WbMegamenu), 'displayNavfullWidth', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 954
at HookCore::exec('displayNavfullWidth', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167
at smartyHook(array('h' => 'displayNavfullWidth'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayNavfullWidth'), object(SmartyDevTemplate)))in c94ec594c8b409ed215fa415e8be28bab68c4d47_2.file.header.tpl.php line 39
at content_64d0b870651c21_29001071(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 0, false)in b17791d51bd30993123e0645110e74388dbabf3d_2.file.layout-both-columns.tpl.php line 231
at Block_56379936364d0b870586175_67724787->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_56379936364d0b870586175_67724787), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_56379936364d0b870586175_67724787))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_56379936364d0b870586175_67724787', 'header')in b17791d51bd30993123e0645110e74388dbabf3d_2.file.layout-both-columns.tpl.php line 68
at content_64d0b8705a12b4_70009997(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in bb54287bd85fff1eb516acba3e5c651d749b62b3_2.file.layout-full-width.tpl.php line 42
at content_64d0b870569fd1_25209614(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in f93360a22014edf8b510c8730d792849c0b3f2c3_2.file.page.tpl.php line 33
at content_64d0b870505c44_63495833(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'microinlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in be4d4f970f75b5e2a84778d1c266da85797db31d_2.file.index.tpl.php line 34
at content_64d0b8704cecd3_74717201(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'microinlayouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'microinlayouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40
at SmartyDev->fetch('index.tpl', null, 'microinlayouts/layout-full-width.tpl')in FrontController.php line 727
at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 709
at FrontControllerCore->display()in Controller.php line 326
at ControllerCore->run()in Dispatcher.php line 518
at DispatcherCore->dispatch()in index.php line 28
Je suis sur OVH en php 7.4
Mes connaissances sont limités pouvez vous m'aider a résoudre ce problème, ou avez vous des piste afin que je puisse le faire ?
Merci à vous