Critical Bug: Helix Ultimate Template Override Crashes On Joomla 5 (behavior.caption Not Found) - Question | JoomShaper

Celebrate JoomShaper's Sweet 16 with Flat 35% OFF!

Critical Bug: Helix Ultimate Template Override Crashes On Joomla 5 (behavior.caption Not Found)

PD

Peter Dowse

Template 8 hours ago

Hi Guys,

I am using your Manufacturer template on a Joomla 5 site, and every single time I update the template, my pages that run the articles addon completely crashes with a fatal error.

The issue is located in your template override file here: /templates/manufacturer/html/com_content/article/default.php

On or around line 37, the code calls a legacy Joomla 3 method: JHtml::_('behavior.caption');

Because JavaScript captions and the behavior.caption asset handler were completely removed in Joomla 5, this triggers a fatal error (behavior::caption not found), which then throws the site into an infinite recursion memory loop with the PHP Debugbar/ClassLoader.

Could your development team please modernize this template override? The behavior.caption line needs to be removed entirely, and legacy methods like JHtml:: and JFactory should be updated to use modern Joomla 5 namespaces (HTMLHelper:: and Factory).

Every time the template updates, it overrides my manual fixes and breaks the production site. Please update the master installation package so this fix persists.

Thank you!

0
4 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 6 hours ago #226663

I have already forwarded this to our team for review and consideration in the next release.

If everything is working fine now, please mark the question as complete by accepting any of our answers.

Best regards,

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 7 hours ago #226650

Hello,

Thanks for reaching out to us.

Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I'll investigate the issue further and verify the reported Joomla 5 compatibility problem with the template override.

I have already forwarded this to our development team for review and consideration in the next release.

Please let me know once you've shared the details.

Best regards,

0
PD
Peter Dowse
Accepted Answer
6 hours ago #226657

There's really no need for me to provide access - if you download the latest Manufacturer template from your own website, navigate to \template\html\com_content\article/default.php and navigate to line 42 - you will see

JHtml::_('behavior.caption');

The behavior.caption helper was deprecated in Joomla 4 and has been completely removed or refactored in Joomla 5 which is why it's causing issues.

Hopefully this is fixed in the next update.

0
PD
Peter Dowse
Accepted Answer
5 hours ago #226664

Many thanks - let's hope it's fixed in the next update.

0