Hi
After upgrade to Joomla 4
When I want to edit a custom html site module, I got this error:
Call stack
#FunctionLocation
1()JROOT/plugins/editors-xtd/doclink/doclink.php:19
2plgButtonDoclink->onDisplay()JROOT/libraries/src/Editor/Editor.php:236
3Joomla\CMS\Editor\Editor->getButtons()JROOT/libraries/src/Editor/Editor.php:98
4Joomla\CMS\Editor\Editor->Joomla\CMS\Editor\{closure}()JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
5Joomla\Event\Dispatcher->dispatch()JROOT/plugins/editors/tinymce/src/PluginTraits/XTDButtons.php:50
6Joomla\Plugin\Editors\TinyMCE\Extension\TinyMCE->tinyButtons()JROOT/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php:120
7Joomla\Plugin\Editors\TinyMCE\Extension\TinyMCE->onDisplay()JROOT/libraries/src/Editor/Editor.php:195
8Joomla\CMS\Editor\Editor->display()JROOT/libraries/src/Form/Field/EditorField.php:251
9Joomla\CMS\Form\Field\EditorField->getInput()JROOT/libraries/src/Form/FormField.php:471
10Joomla\CMS\Form\FormField->__get()JROOT/libraries/src/Form/Field/TextareaField.php:94
11Joomla\CMS\Form\Field\TextareaField->__get()JROOT/libraries/src/Form/Field/EditorField.php:138
12Joomla\CMS\Form\Field\EditorField->__get()JROOT/libraries/src/Form/Form.php:458
13Joomla\CMS\Form\Form->getInput()JROOT/administrator/components/com_modules/tmpl/module/edit.php:119
14include()JROOT/libraries/src/MVC/View/HtmlView.php:415
15Joomla\CMS\MVC\View\HtmlView->loadTemplate()JROOT/libraries/src/MVC/View/HtmlView.php:203
16Joomla\CMS\MVC\View\HtmlView->display()JROOT/administrator/components/com_modules/src/View/Module/HtmlView.php:82
17Joomla\Component\Modules\Administrator\View\Module\HtmlView->display()JROOT/libraries/src/MVC/Controller/BaseController.php:660
18Joomla\CMS\MVC\Controller\BaseController->display()JROOT/administrator/components/com_modules/src/Controller/DisplayController.php:84
19Joomla\Component\Modules\Administrator\Controller\DisplayController->display()JROOT/libraries/src/MVC/Controller/BaseController.php:693
20Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
21Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:361
22Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/AdministratorApplication.php:143
23Joomla\CMS\Application\AdministratorApplication->dispatch()JROOT/libraries/src/Application/AdministratorApplication.php:186
24Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:293
25Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:61
26require_once()JROOT/administrator/index.php:32
Any idea how to solve this?
Thank you
After upgrade to Joomla 4
When I want to edit a custom html site module, I got this error:
If I activate error reporting, it shows me this:An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Call stack
#FunctionLocation
1()JROOT/plugins/editors-xtd/doclink/doclink.php:19
2plgButtonDoclink->onDisplay()JROOT/libraries/src/Editor/Editor.php:236
3Joomla\CMS\Editor\Editor->getButtons()JROOT/libraries/src/Editor/Editor.php:98
4Joomla\CMS\Editor\Editor->Joomla\CMS\Editor\{closure}()JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
5Joomla\Event\Dispatcher->dispatch()JROOT/plugins/editors/tinymce/src/PluginTraits/XTDButtons.php:50
6Joomla\Plugin\Editors\TinyMCE\Extension\TinyMCE->tinyButtons()JROOT/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php:120
7Joomla\Plugin\Editors\TinyMCE\Extension\TinyMCE->onDisplay()JROOT/libraries/src/Editor/Editor.php:195
8Joomla\CMS\Editor\Editor->display()JROOT/libraries/src/Form/Field/EditorField.php:251
9Joomla\CMS\Form\Field\EditorField->getInput()JROOT/libraries/src/Form/FormField.php:471
10Joomla\CMS\Form\FormField->__get()JROOT/libraries/src/Form/Field/TextareaField.php:94
11Joomla\CMS\Form\Field\TextareaField->__get()JROOT/libraries/src/Form/Field/EditorField.php:138
12Joomla\CMS\Form\Field\EditorField->__get()JROOT/libraries/src/Form/Form.php:458
13Joomla\CMS\Form\Form->getInput()JROOT/administrator/components/com_modules/tmpl/module/edit.php:119
14include()JROOT/libraries/src/MVC/View/HtmlView.php:415
15Joomla\CMS\MVC\View\HtmlView->loadTemplate()JROOT/libraries/src/MVC/View/HtmlView.php:203
16Joomla\CMS\MVC\View\HtmlView->display()JROOT/administrator/components/com_modules/src/View/Module/HtmlView.php:82
17Joomla\Component\Modules\Administrator\View\Module\HtmlView->display()JROOT/libraries/src/MVC/Controller/BaseController.php:660
18Joomla\CMS\MVC\Controller\BaseController->display()JROOT/administrator/components/com_modules/src/Controller/DisplayController.php:84
19Joomla\Component\Modules\Administrator\Controller\DisplayController->display()JROOT/libraries/src/MVC/Controller/BaseController.php:693
20Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
21Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:361
22Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/AdministratorApplication.php:143
23Joomla\CMS\Application\AdministratorApplication->dispatch()JROOT/libraries/src/Application/AdministratorApplication.php:186
24Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:293
25Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:61
26require_once()JROOT/administrator/index.php:32
Any idea how to solve this?
Thank you
Statistics: Posted by construaprende — Thu Feb 15, 2024 11:28 pm