Subject: Educon 4.0.3 is not working with Joomla 6.1.1 – JFactory error
Hello JoomShaper Team,
I have installed a completely fresh Joomla 6.1.1 installation and then installed the latest Educon template (version 4.0.3).
According to the release notes, Educon 4.0.3 supports Joomla 6.1.1, SP Page Builder 6.6.0, Helix 3.1.0 and PHP 8.5 compatibility.
However, as soon as I set the Educon template as the default site template, the frontend crashes with a HTTP 500 error.
After enabling Joomla debug mode, the following error is displayed:
ClassNotFoundError:
Attempted to load class "JFactory" from the global namespace.
File:
templates/shaper_educon/error.php
Code:
$doc = JFactory::getDocument();
$params = JFactory::getApplication()->getTemplate(true)->params;
JFactory appears to be used in the template's error.php file, which is not compatible with Joomla 6.
Environment:
- Joomla 6.1.1
- Educon 4.0.3
- PHP 8.4
- Fresh Joomla installation
- No migration from Joomla 3/4
- Error occurs immediately after activating the Educon template
Could you please verify whether this is a bug in Educon 4.0.3 and provide a fix or updated package compatible with Joomla 6.1.1?
Thank you.