J4 Issue ?
avatar victorantoniak
victorantoniak
1 Aug 2018

Steps to reproduce the issue

  1. Logout from admin area
  2. Go to
    {YourSite}/administrator/index.php?option=com_test&controller=products

com_test - my test compenent

Expected result

Display login form

Actual result

An error has occurred.
0 Invalid controller class: products

System information (as much as possible)

Joomla 4 A4

avatar victorantoniak victorantoniak - open - 1 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Aug 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Aug 2018

Issue confirmed.

avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Aug 2018
Status New Confirmed
avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Aug 2018
Category Authentication
avatar brianteeman brianteeman - change - 2 Aug 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 2 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Aug 2018
Title
Joomla 4 Error Invalid controller class
[4.0] Error Invalid controller class
avatar joomla-cms-bot joomla-cms-bot - edited - 21 Aug 2018
avatar MonkeyTrainer12
MonkeyTrainer12 - comment - 27 Aug 2018

I had an issue in Alpha4 which behaved exactly like this (custom component, same error). For me, it turned out to be a capitalization issue in the namespace. I did not see that happen in Alpha3. I don't have a code fix, but I modified my XML and re-installed the component.

Ex: The namespace declared in the XML document was "Joomla\Component\XXX_Abc", while Joomla's Dispatcher was failing to discover the custom dispatcher in the namespace "Joomla\Component\Xxx_abc".

I hope this helps.

avatar laoneo
laoneo - comment - 28 Aug 2018

I need something to test with to be able to fix it. If somebody has an example extension to share I will investigate the issue.

avatar ghazal
ghazal - comment - 1 Sep 2018

Just installed Minitek Faq Book that triggers this error:
https://extensions.joomla.org/extension/minitek-faq-book/

Error : Invalid controller class: display

avatar phalouvas
phalouvas - comment - 23 Sep 2018

I also confirm this problem. You must uninstall/install and then problem is solved.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21335.

avatar SharkyKZ
SharkyKZ - comment - 29 Aug 2019

Test PR #26072 please.

avatar Quy Quy - change - 29 Aug 2019
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2019-08-29 21:59:50
Closed_By Quy
avatar Quy Quy - close - 29 Aug 2019

Add a Comment

Login with GitHub to post a comment