EDUCON TEMPLATE - Question | JoomShaper

EDUCON TEMPLATE

E

Enrico

Template 1 week ago

Subject: Educon 4.0.3 – Legacy Joomla classes cause fatal errors on Joomla 6 (JHtml / JFactory not found)

Hello,

I'm using the Educon template version 4.0.3 on a fresh Joomla 6 installation. According to the product page, this version is listed as compatible with Joomla 6, but I'm getting fatal errors caused by legacy (non-namespaced) Joomla classes that were removed in Joomla 6.

Original error:

Class "JHtml" not found in templates/shaper_educon/html/com_content/featured/default.php (line 12) JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');

This triggers Joomla's error page, but the template's own error handler also fails for the same reason, producing a second fatal error:

Attempted to load class "JFactory" from the global namespace. in templates/shaper_educon/error.php (line 12) $doc = JFactory::getDocument(); $params = JFactory::getApplication()->getTemplate('true')->params; ... $logo = JURI::root() . '/' . $logo_image;

It looks like these two files were not updated to the new namespaced Joomla API (Joomla\CMS\HTML\HTMLHelper, Joomla\CMS\Factory, Joomla\CMS\Uri\Uri), unlike the rest of the template.

Could you please provide an updated version of these two files, or confirm if there's a patch available for full Joomla 6 compatibility?

Thank you for your support.

0
1 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 week ago #230829

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 further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

0