Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Pending Public Category: Technical Support / Bugs Ticket #787

Email Templates cannot be opened (Editor fails to load)

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Langenthaler Fasnachtsgesellschaft

Hi

I have a hard time to get this working:
Joomla 6.1.0 , J2Commerce v 4.1.2 (freshly installed not updated, Installation worked fine no errors)  JCE 2.9.99.2. 
As soon as i try to open an Email Template I get a failed call to the editor, any ideas what to try? 

JCE works everywhere except here in the Email Templates.
Everything else works fine.

2026-05-11T18:38:37+00:00 CRITICAL 94.16.196.92 error Uncaught Throwable of type Error thrown with message "Call to a member function loadArray() on null". Stack trace: #0 [ROOT]\libraries\src\Editor\Editor.php(222): Joomla\CMS\Editor\Editor->_loadEditor()
#1 [ROOT]\administrator\components\com_j2store\helpers\j2html.php(1238): Joomla\CMS\Editor\Editor->display()
#2 [ROOT]\administrator\components\com_j2store\layouts\edit\email_tab.php(153): J2Html::custom()
#3 [ROOT]\administrator\components\com_j2store\controllers\traits\list_view.php(103): include('...')
#4 [ROOT]\administrator\components\com_j2store\controllers\emailtemplates.php(224): J2StoreControllerEmailtemplates->_getLayout()
#5 [ROOT]\libraries\f0f\controller\controller.php(967): J2StoreControllerEmailtemplates->add()
#6 [ROOT]\administrator\components\com_j2store\controllers\emailtemplates.php(29): F0FController->execute()
#7 [ROOT]\libraries\f0f\dispatcher\dispatcher.php(330): J2StoreControllerEmailtemplates->execute()
#8 [ROOT]\administrator\components\com_j2store\j2store.php(18): F0FDispatcher->dispatch()
#9 [ROOT]\libraries\src\Dispatcher\LegacyComponentDispatcher.php(71): require_once('...')
#10 [ROOT]\libraries\src\Dispatcher\LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()
#11 [ROOT]\libraries\src\Component\ComponentHelper.php(361): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#12 [ROOT]\libraries\src\Application\AdministratorApplication.php(150): Joomla\CMS\Component\ComponentHelper::renderComponent()
#13 [ROOT]\libraries\src\Application\AdministratorApplication.php(206): Joomla\CMS\Application\AdministratorApplication->dispatch()
#14 [ROOT]\libraries\src\Application\CMSApplication.php(320): Joomla\CMS\Application\AdministratorApplication->doExecute()
#15 [ROOT]\administrator\includes\app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#16 [ROOT]\administrator\index.php(32): require_once('...')

Olivier Buisard Staff

Thanks for the report.

As a temporary workaround, switch back to TinyMCE for when you need to update the email template.

I will look at this issue.

Olivier.

Langenthaler Fasnachtsgesellschaft

Strange, Same Issue with Tiny MCE , even with Editor NONE. Not Urgent...

Olivier Buisard Staff

Humm, this is strange. I tempted a fix, could you give me access to your site so I can test it?

You can edit the ticket, it does not have to be private, use the fields User/Password, they are not visible to anyone. Thanks!

Olivier.

The ticket information has been edited by Langenthaler Fasnachtsgesellschaft (LFG).
Olivier Buisard Staff

Thanks for credentials.

I was able to fix the 'crash' with an elegant solution BUT I was not able to find the root of the problem and could not reproduce it on my end.

In any case, you should be able to work the emails out, even though there is an error message. 

Olivier.

The ticket information has been edited by Langenthaler Fasnachtsgesellschaft (LFG).
Langenthaler Fasnachtsgesellschaft

Good enough! thanks a lot. As this is my test environment will there be a fix later on for production?

Olivier Buisard Staff

Yes, I am making the fix part of the next upcoming release (in a matter of a couple of days now). I have included it in v4.1.3.

Olivier.