Bonjour
Je suis passé récemment à J5.
Quand je demande un sous menu en frontend j'ai une erreur 0 avec ceci :
0 Event onContentAfterDisplay only accepts String results.
Call Stack
# Function Location
1 () JROOT/libraries/src/Event/Result/ResultTypeStringAware.php:67
2 Joomla\CMS\Event\Content\AfterDisplayEvent->typeCheckResult() JROOT/libraries/src/Event/Result/ResultAware.php:64
3 Joomla\CMS\Event\Content\AfterDisplayEvent->addResult() JROOT/libraries/src/Plugin/CMSPlugin.php:297
4 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
5 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
6 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/layouts/joomla/content/category_default.php:41
7 include() JROOT/libraries/src/Layout/FileLayout.php:128
8 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
9 Joomla\CMS\Layout\LayoutHelper::render() JROOT/components/com_content/tmpl/category/default.php:20
10 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
11 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
12 Joomla\CMS\MVC\View\HtmlView->display() JROOT/libraries/src/MVC/View/CategoryView.php:262
13 Joomla\CMS\MVC\View\CategoryView->display() JROOT/components/com_content/src/View/Category/HtmlView.php:182
14 Joomla\Component\Content\Site\View\Category\HtmlVi ew->display() JROOT/libraries/src/Cache/Controller/ViewController.php:95
15 Joomla\CMS\Cache\Controller\ViewController->get() JROOT/libraries/src/MVC/Controller/BaseController.php:692
16 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_content/src/Controller/DisplayController.php:122
17 Joomla\Component\Content\Site\Controller\DisplayCo ntroller->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
18 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
19 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/components/com_content/src/Dispatcher/Dispatcher.php:56
20 Joomla\Component\Content\Site\Dispatcher\Dispatche r->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
21 Joomla\CMS\Component\ComponentHelper::renderCompon ent() JROOT/libraries/src/Application/SiteApplication.php:218
22 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:261
23 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
24 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
25 require_once() JROOT/index.php:32
Qu'est ce qui ne va pas?
Merci d'avance
Je suis passé récemment à J5.
Quand je demande un sous menu en frontend j'ai une erreur 0 avec ceci :
0 Event onContentAfterDisplay only accepts String results.
Call Stack
# Function Location
1 () JROOT/libraries/src/Event/Result/ResultTypeStringAware.php:67
2 Joomla\CMS\Event\Content\AfterDisplayEvent->typeCheckResult() JROOT/libraries/src/Event/Result/ResultAware.php:64
3 Joomla\CMS\Event\Content\AfterDisplayEvent->addResult() JROOT/libraries/src/Plugin/CMSPlugin.php:297
4 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
5 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
6 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/layouts/joomla/content/category_default.php:41
7 include() JROOT/libraries/src/Layout/FileLayout.php:128
8 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
9 Joomla\CMS\Layout\LayoutHelper::render() JROOT/components/com_content/tmpl/category/default.php:20
10 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
11 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
12 Joomla\CMS\MVC\View\HtmlView->display() JROOT/libraries/src/MVC/View/CategoryView.php:262
13 Joomla\CMS\MVC\View\CategoryView->display() JROOT/components/com_content/src/View/Category/HtmlView.php:182
14 Joomla\Component\Content\Site\View\Category\HtmlVi ew->display() JROOT/libraries/src/Cache/Controller/ViewController.php:95
15 Joomla\CMS\Cache\Controller\ViewController->get() JROOT/libraries/src/MVC/Controller/BaseController.php:692
16 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_content/src/Controller/DisplayController.php:122
17 Joomla\Component\Content\Site\Controller\DisplayCo ntroller->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
18 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
19 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/components/com_content/src/Dispatcher/Dispatcher.php:56
20 Joomla\Component\Content\Site\Dispatcher\Dispatche r->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
21 Joomla\CMS\Component\ComponentHelper::renderCompon ent() JROOT/libraries/src/Application/SiteApplication.php:218
22 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:261
23 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
24 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
25 require_once() JROOT/index.php:32
Qu'est ce qui ne va pas?
Merci d'avance
Commentaire