Hi there,
Thanks for following up.
I took a backup of your site and reproduced the issue on my local environment. I then applied the required fix to the Gazette template, and the issue was resolved.
The error is caused by the Gazette template's Articles addon still using the deprecated ContentHelperRoute class, which is no longer available in Joomla 5 when the Backward Compatibility plugin is disabled.
Fix
Please make sure to take a full backup of your live site before applying the changes.
Open the following file:
templates/shaper_gazette/sppagebuilder/addons/articles/site.php
- Add the following namespace with the other
use statements:
use Joomla\Component\Content\Site\Helper\RouteHelper;
- Find all occurrences of:
ContentHelperRoute
and replace them with:
RouteHelper
There should be 6 occurrences in the file.
For example, change:
$item->catUrl = Route::_(ContentHelperRoute::getCategoryRoute($item->catslug));
to:
$item->catUrl = Route::_(RouteHelper::getCategoryRoute($item->catslug));
After applying the changes, clear the Joomla cache and test the frontend again. You should then be able to disable the Backward Compatibility plugin without getting the Class "ContentHelperRoute" not found error.
This change is backward compatible with Joomla 4 as well.
Please keep a backup of the modified file, as a future Gazette template update may overwrite the changes. We will also recommend updating to the latest Gazette version once this fix is officially included.
Best regards,