- Posts: 145
- Thank you received: 6
The problem of the Joomla editor in the Hikashop component
2 years 4 months ago #362126
by levelup
Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.
-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.2
-- Error-message(debug-mod must be tuned on) -- : Call to a member function loadArray() on null
Hi
I have updated HikaShop and Joomla. After the update, I am not able to edit the product or category. It seems that TinyMCE and JCE editors in Hikashop have problems with each other.
Because when I disable all JCE plugins in plugin management and select Joomla editor in Global Configuration, it gives an error message:
But when the JCE plugins are active, the Joomla editor in Hikashop works properly.
This problem does not exist in other components.
Call Stack
# Function Location
1 () JROOT\libraries\src\Editor\Editor.php:343
2 Joomla\CMS\Editor\Editor->_loadEditor() JROOT\libraries\src\Editor\Editor.php:222
3 Joomla\CMS\Editor\Editor->display() JROOT\administrator\components\com_hikashop\helpers\editor.php:71
4 hikashopEditorHelper->display() JROOT\administrator\components\com_hikashop\views\product\tmpl\form.php:236
5 include() JROOT\libraries\src\MVC\View\HtmlView.php:416
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\administrator\components\com_hikashop\helpers\helper.php:2921
7 hikashopView->loadTemplate() JROOT\libraries\src\MVC\View\HtmlView.php:204
8 Joomla\CMS\MVC\View\HtmlView->display() JROOT\administrator\components\com_hikashop\helpers\helper.php:2875
9 hikashopView->display() JROOT\administrator\components\com_hikashop\views\product\view.html.php:31
10 ProductViewProduct->display() JROOT\libraries\src\MVC\Controller\BaseController.php:697
11 Joomla\CMS\MVC\Controller\BaseController->display() JROOT\administrator\components\com_hikashop\helpers\helper.php:2582
12 hikashopController->display() JROOT\administrator\components\com_hikashop\controllers\product.php:56
13 ProductController->edit() JROOT\libraries\src\MVC\Controller\BaseController.php:730
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\administrator\components\com_hikashop\helpers\helper.php:2560
15 hikashopController->execute() JROOT\administrator\components\com_hikashop\hikashop.php:73
16 require_once() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:71
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:73
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:361
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:150
20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:195
21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:306
22 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\includes\app.php:58
23 require_once() JROOT\administrator\index.php:32
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.2
-- Error-message(debug-mod must be tuned on) -- : Call to a member function loadArray() on null
Hi
I have updated HikaShop and Joomla. After the update, I am not able to edit the product or category. It seems that TinyMCE and JCE editors in Hikashop have problems with each other.
Because when I disable all JCE plugins in plugin management and select Joomla editor in Global Configuration, it gives an error message:
Code:
Call to a member function loadArray() on null
This problem does not exist in other components.
Call Stack
# Function Location
1 () JROOT\libraries\src\Editor\Editor.php:343
2 Joomla\CMS\Editor\Editor->_loadEditor() JROOT\libraries\src\Editor\Editor.php:222
3 Joomla\CMS\Editor\Editor->display() JROOT\administrator\components\com_hikashop\helpers\editor.php:71
4 hikashopEditorHelper->display() JROOT\administrator\components\com_hikashop\views\product\tmpl\form.php:236
5 include() JROOT\libraries\src\MVC\View\HtmlView.php:416
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\administrator\components\com_hikashop\helpers\helper.php:2921
7 hikashopView->loadTemplate() JROOT\libraries\src\MVC\View\HtmlView.php:204
8 Joomla\CMS\MVC\View\HtmlView->display() JROOT\administrator\components\com_hikashop\helpers\helper.php:2875
9 hikashopView->display() JROOT\administrator\components\com_hikashop\views\product\view.html.php:31
10 ProductViewProduct->display() JROOT\libraries\src\MVC\Controller\BaseController.php:697
11 Joomla\CMS\MVC\Controller\BaseController->display() JROOT\administrator\components\com_hikashop\helpers\helper.php:2582
12 hikashopController->display() JROOT\administrator\components\com_hikashop\controllers\product.php:56
13 ProductController->edit() JROOT\libraries\src\MVC\Controller\BaseController.php:730
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\administrator\components\com_hikashop\helpers\helper.php:2560
15 hikashopController->execute() JROOT\administrator\components\com_hikashop\hikashop.php:73
16 require_once() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:71
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:73
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:361
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:150
20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:195
21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:306
22 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\includes\app.php:58
23 require_once() JROOT\administrator\index.php:32
Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.
Please Log in or Create an account to join the conversation.
2 years 4 months ago #362131
by nicolas
Replied by nicolas on topic The problem of the Joomla editor in the Hikashop component
Hi,
HikaShop has a setting "HTML editor" in its configuration page. If you have JCE configured there, then HikaShop will try to use JCE even if you selected another HTML editor in the Joomla global configuration.
So enable the JCE plugins back and check the status of this setting. Set it to inherit, or TinyMCE, and save the HikaShop configuration once.
Then, even if you disable the JCE plugin, you should not have that error.
HikaShop has a setting "HTML editor" in its configuration page. If you have JCE configured there, then HikaShop will try to use JCE even if you selected another HTML editor in the Joomla global configuration.
So enable the JCE plugins back and check the status of this setting. Set it to inherit, or TinyMCE, and save the HikaShop configuration once.
Then, even if you disable the JCE plugin, you should not have that error.
The following user(s) said Thank You: levelup
Please Log in or Create an account to join the conversation.
2 years 4 months ago #362141
by levelup
Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.
Replied by levelup on topic The problem of the Joomla editor in the Hikashop component
Thankful. I had forgotten this.
Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds