By joomhoo on Wednesday, 13 March 2024
Replies 5
Likes 0
Views 738
Votes 0
Hi,

I've recently upgraded to Joomla! 4 (4.4.2) and I noticed that most of the JEvents custom layouts are throwing this error (with debug on)
Call to a member function loadArray() on null

jevents-custom-templates-error.png


The layouts for 'icalevent.detail_body' and 'module.latest_event' continue to work, but the rest all show the same error when I try to open them in the editor.

Any ideas on how to fix?

Thanks
Which editor do you use?
·
Friday, 15 March 2024 10:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I use JCE Editor (Core/free), but I also see the error if I change to Code Mirror and Tiny MCE in Global Config.

Thanks
·
Monday, 18 March 2024 06:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you disable the 'editor - none' editor plugin? We use this to edit some layouts because most WYSIWYG editors cut out key parts of the HTML when the edited layout is saved

The next release will catch this situation.
·
Wednesday, 20 March 2024 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes! I disabled the 'Editor - None' plugin because some of the editors were getting a bit "creative".

Thanks for finding that. I can temporarily enable/disable the plugin for the time-being to workaround it.

Thanks
·
Wednesday, 20 March 2024 13:35
·
0 Likes
·
0 Votes
·
0 Comments
·
You could set the access level higher on the plugin so only 'safe' users would have access
·
Friday, 22 March 2024 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post