THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Bonjour à tous !

J'ai installé thelia 2.4.3, après l'avoir téléchargé avec composer, en ligne de commande.

Lorsque je vais sur "http://thelia243test1/web/index_dev.php/" (virtualhost wamp), j'ai :

InvalidArgumentException in BaseHook.php line 413:
The hook 'hook.1.main.head-bottom' is already used in this class.
in BaseHook.php line 413
at BaseHook->addTemplate('hook.1.main.head-bottom', 'css:assets/css/styles.css') in CoreDevDebugProjectContainer.php line 1045
at CoreDevDebugProjectContainer->getHooksearch_Hook_FrontService() in Container.php line 295
at Container->get('hooksearch.hook.front') in ContainerAwareEventDispatcher.php line 169
at ContainerAwareEventDispatcher->lazyLoad('hook.1.main.head-bottom') in ContainerAwareEventDispatcher.php line 114
at ContainerAwareEventDispatcher->getListeners('hook.1.main.head-bottom') in EventDispatcher.php line 45
at EventDispatcher->dispatch('hook.1.main.head-bottom', object(HookRenderEvent)) in Hook.php line 107
at Hook->processHookFunction(array('name' => 'main.head-bottom'), object(Smarty_Internal_Template)) in AbstractSmartyPlugin.php line 118
at AbstractSmartyPlugin->__call('processHookFunction', array(array('name' => 'main.head-bottom'), object(Smarty_Internal_Template))) in 88f74f5176fb623797a6c6ffb5b6eb8bde58fc1f_0.file.layout.tpl.php line 231
at content_5fb6a1d2e3f5d7_35266541(object(Smarty_Internal_Template)) in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template)) in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(Smarty_Internal_Template)) in smarty_internal_template.php line 216
at Smarty_Internal_Template->render() in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layout.tpl', null, null, '0', '3600', array(), '2', false, null, null) in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(Smarty_Internal_Template), 'layout.tpl') in f6bec8a9b022a6781fa28d8136415df57a627aae_0.file.index.html.php line 63
at content_5fb6a1d2944c43_48647052(object(Smarty_Internal_Template)) in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template)) in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(Smarty_Internal_Template)) 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(Smarty_Internal_Template), null, null, null, '0') in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('file:index.html') in SmartyParser.php line 503
at SmartyParser->internalRenderer('file', 'index.html', array('locale' => 'en_US', 'lang_code' => 'en', 'lang_id' => '2', 'current_url' => 'http://localhost/thelia243test1/web/index_dev.php/', 'app' => object(stdClass)), true) in SmartyParser.php line 529
at SmartyParser->render('index.html') in ViewListener.php line 78
at ViewListener->onKernelView(object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher)) in EventDispatcher.php line 184
at EventDispatcher->doDispatch(array(array(object(ViewListener), 'beforeKernelView'), array(object(ViewListener), 'onKernelView')), 'kernel.view', object(GetResponseForControllerResultEvent)) in EventDispatcher.php line 46
at EventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in HttpKernel.php line 140
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 57
at HttpKernel->handle(object(Request), '1', true) in TheliaHttpKernel.php line 76
at TheliaHttpKernel->handle(object(Request), '1', true) in ParamInitMiddleware.php line 87
at ParamInitMiddleware->handle(object(Request), '1', true) in SessionMiddleware.php line 80
at SessionMiddleware->handle(object(Request), '1', true) in StackedHttpKernel.php line 23
at StackedHttpKernel->handle(object(Request), '1', true) in Kernel.php line 183
at Kernel->handle(object(Request)) in index_dev.php line 40

J'ai vidé les cache et suis en php 7.3.21.

Quelqu'un aurait une piste ?

Merci d'avance !

Gilles L.

Offline


Je suis reparti de zéro et ça marche !