WayneCorp Template Compatibility Issue With Joomla 5/6 — “Class JURI Not Found” - Question | JoomShaper

WayneCorp Template Compatibility Issue With Joomla 5/6 — “Class JURI Not Found”

Emeric

Emeric

Template 1 month ago

Hello JoomShaper Support,

I am contacting you regarding the WayneCorp Joomla template: https://www.joomshaper.com/joomla-templates/waynecorp

The template is listed as compatible with Joomla 5 and Joomla 6, but I am encountering a compatibility issue related to deprecated/removed Joomla classes.

Website https://lbcop-j5.ws1.bellosta.fr/

Environment:

Joomla version: Joomla! 5.4.4 Stable [ Kutegemea ] — 31 March 2026 16:00 GMT
PHP version: 8.2.31

The error appears to be triggered by the article_slider addon, although I suspect the issue may affect the template more globally.

Error displayed:

0 Class "JURI" not found

Full call stack:

Call Stack
#   Function    Location
1   ()  JROOT/administrator/modules/mod_osquickicons/mod_osquickicons.php:49
2   include()   JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
3   Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
4   Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:289
5   Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:160
6   Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/administrator/components/com_cpanel/tmpl/cpanel/default.php:57
7   include()   JROOT/libraries/src/MVC/View/HtmlView.php:416
8   Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View\HtmlView.php:204
9   Joomla\CMS\MVC\View\HtmlView->display()  JROOT/administrator/components/com_cpanel/src/View/Cpanel/HtmlView.php:157
10  Joomla\Component\Cpanel\Administrator\View\Cpanel\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
11  Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_cpanel/src/Controller/DisplayController.php:57
12  Joomla\Component\Cpanel\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
13  Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
14  Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
15  Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
16  Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:206
17  Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:304
18  Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
19  require_once()  JROOT/administrator/index.php:32

It looks like the template or one of its addons is still using the old JURI class instead of the namespaced Joomla class, for example:

use Joomla\CMS\Uri\Uri;

and then:

Uri::root()

instead of:

JURI::root()

Could you please confirm whether the WayneCorp template and its addons are fully compatible with Joomla 5 and Joomla 6?

Could you also provide either:

  1. an updated version of the template/addon fixing this issue, or
  2. the exact files and code changes required to make it compatible?

For context, the error seems related to the article_slider addon, but I would appreciate it if you could verify the whole template package for Joomla 5/6 compatibility.

Thank you in advance.

Best regards, Emeric

0
5 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #224401

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Download this file and replace this file on this file location.

templates/shaper_waynecorp/sppagebuilder/addons/articles_slider/admin.php

admin.php.zip

Note: This is not our extension

JROOT/administrator/modules/mod_osquickicons/mod_osquickicons.php:49

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
Emeric
Emeric
Accepted Answer
1 month ago #225366

Hello,

Thank you for the file provided.

The fix resolves the issue on this file:

templates/shaper_waynecorp/sppagebuilder/addons/articles_slider/admin.php

However, after replacing this file, other errors immediately appear on other addons included with the template, for example:

templates/shaper_waynecorp/sppagebuilder/addons/thumb_gallery/admin.php:18

Error:

Class "JText" not found

At this stage, the only way to make the website run properly under Joomla 5 is to enable the following plugin:

Behaviour - Backward Compatibility

This indicates that several files from the template or from the SP Page Builder addons included with it are still using old Joomla classes that are not natively compatible with Joomla 5/6.

So the issue does not seem to be limited to one file. It appears to affect several addons included in the WayneCorp template.

The template is advertised as compatible with Joomla 4, Joomla 5 and Joomla 6. Could you please confirm whether all SP Page Builder addons included with this template are also fully compatible with Joomla 5/6 without enabling the Backward Compatibility plugin?

If this is not the case, please provide a complete corrected version of the SP Page Builder addons included with the template, or at least an exhaustive list of the files that need to be updated.

At this stage, the single-file fix provided does not allow us to consider the template fully compatible with Joomla 5/6.

Best regards,

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #225367

Backward Compatibility plugin should be enabled. It happens only for the override addons.

0
Emeric
Emeric
Accepted Answer
1 month ago #225369

Hello,

Thank you for your reply.

I understand that the issue occurs only with the override addons and that the Backward Compatibility plugin should be enabled.

However, this is precisely the point we need to clarify.

The WayneCorp template is advertised as compatible with Joomla 4, Joomla 5 and Joomla 6. If the template requires the Backward Compatibility plugin to run properly under Joomla 5 because some override addons still use legacy Joomla classes such as JText, then the compatibility is not fully native.

Could you please confirm the following points:

Is the WayneCorp template officially intended to work under Joomla 5 only with the Backward Compatibility plugin enabled? Are the override addons included with the template planned to be updated to use the Joomla 5/6 namespaced classes? Is this setup also considered compatible with Joomla 6, since the Backward Compatibility layer may not be a reliable long-term solution? Can you provide a complete list of the override addons that require the Backward Compatibility plugin?

At this stage, we need to know whether this is an expected requirement, a temporary workaround, or a compatibility issue that will be fixed in a future template update.

Best regards,

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #225371

If you find the issue, please let us know, and I will share the details with our team. I hope they will fix it soon. In the meantime, I will try to provide a hotfix if possible.

0