Class "Route" not found - Forum | JoomShaper
Solved SP Page Builder

Class "Route" not found

Asked by johnny 3 years ago Last activity 3 years ago

Joomla 4.2.5
SPPB v3

I have created a login menu item and when I click the link I see the following error.

My site is localhost.

Class "Route" not found

Call stack below.

Call stack

Function Location

1 () JROOT\templates\edulif\html\com_users\login\default_logout.php:41
2 include() JROOT\libraries\src\MVC\View\HtmlView.php:410
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\templates\edulif\html\com_users\login\default.php:21
4 include() JROOT\libraries\src\MVC\View\HtmlView.php:410
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\libraries\src\MVC\View\HtmlView.php:203
6 Joomla\CMS\MVC\View\HtmlView->display() JROOT\components\com_users\src\View\Login\HtmlView.php:122
7 Joomla\Component\Users\Site\View\Login\HtmlView->display() JROOT\components\com_users\src\Controller\DisplayController.php:138
8 Joomla\Component\Users\Site\Controller\DisplayController->display() JROOT\libraries\src\MVC\Controller\BaseController.php:672
9 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
10 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:355
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\SiteApplication.php:200
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT\libraries\src\Application\SiteApplication.php:241
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:294
14 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:61
15 require_once() JROOT\index.php:32

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

But works...

so let's wait when you will be online (server, not localhost only)

10 more replies

Paul Frankowski Senior Staff

Hi Johnny,

by now please DELETE whole "login" folder

templates\edulif\html\com_users\login\

it should help, Joomla will use default view from core component instead.

johnny Asked this

Hi Paul,

Thanks for that, I can now successfully login. However, the login page styling is broken compared to the last one - it looks different. see images https://imgur.com/a/20yW1Q6

Also, the user login button on the top right of the Edulif template has disappeared - this opened a login modal window. This was a very important feature of the template for me.

Can you advise how I re-enable this?

Thanks

Paul Frankowski Senior Staff

Yes, indeed it was emergency solution only. To remove error.

Paul Frankowski Senior Staff

What PHP version you have there?

Paul Frankowski Senior Staff

Please download those two folders, unzip and upload inside your template -- by FTP tool !!

it should help, at least helped other user with PHP 7.4, Joomla 4.2

login===unzip.zip

mod_login====unzip.zip

johnny Asked this

Paul,

Joomla! Version 4.2.5 and PHP Version 8.0.23

Should I still download the files you provided?

Paul Frankowski Senior Staff

Should I still download the files you provided?

What do you think? Why I uploaded them ;p

johnny Asked this

Paul,

Asking because it seems you think I am using PHP 7.4 :)

I will try this and get back to you!

johnny Asked this

Hi Paul,

I've tried, the login menu item is fine thanks.

The module does open a popup but the styling is broken and not like the original Edulif, see image https://imgur.com/a/N26D7b3

Log in to reply.