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 week 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
1 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 week 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