Problem mit mod_login unter Joomla 4.2

  • Ich habe meine Testseite auf J4.2 aktualisiert und seitdem funktioniert das Modul mod_login nicht mehr.

    Es erzeugt einen crash der Website mit folgendem ERROR:

    error - Uncaught Throwable of type TypeError thrown with message "count(): Argument #1 ($value) must be of type Countable|array, null given". Stack trace: #0 [ROOT]/modules/mod_login/mod_login.php(34): require() #1 [ROOT]/libraries/src/Dispatcher/ModuleDispatcher.php(48): include('/home/.sites/44...') #2 [ROOT]/libraries/src/Dispatcher/ModuleDispatcher.php(51): Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}('/home/.sites/44...', NULL) #3 [ROOT]/libraries/src/Helper/ModuleHelper.php(272): Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() #4 [ROOT]/libraries/src/Helper/ModuleHelper.php(157): Joomla\CMS\Helper\ModuleHelper::renderRawModule(Object(stdClass), Object(Joomla\Registry\Registry), Array) #5 [ROOT]/libraries/src/Document/Renderer/Html/ModuleRenderer.php(95): Joomla\CMS\Helper\ModuleHelper::renderModule(Object(stdClass), Array) #6 [ROOT]/libraries/src/Document/HtmlDocument.php(663): Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render(Object(stdClass), Array) #7 [ROOT]/templates/cassiopeia/index.php(95): Joomla\CMS\Document\HtmlDocument->countModules('sidebar-left', true) #8 [ROOT]/libraries/src/Document/HtmlDocument.php(732): require('/home/.sites/44...') #9 [ROOT]/libraries/src/Document/HtmlDocument.php(786): Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/.sites/44...', 'index.php') #10 [ROOT]/libraries/src/Document/HtmlDocument.php(604): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array) #11 [ROOT]/libraries/src/Application/CMSApplication.php(1000): Joomla\CMS\Document\HtmlDocument->parse(Array) #12 [ROOT]/libraries/src/Application/SiteApplication.php(710): Joomla\CMS\Application\CMSApplication->render() #13 [ROOT]/libraries/src/Application/CMSApplication.php(295): Joomla\CMS\Application\SiteApplication->render() #14 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #15 [ROOT]/index.php(32): require_once('/home/.sites/44...') #16 {main}


    Ist das ein bug oder kann ich als Admin etwas tun?

  • Sorry, den Call Stack kann ich dir nicht mehr zeigen , da ich noch mehr Probleme mit der Version J4.2 hatte und daher gerade versuche mein Backup von der Version Joomla 4.5.1 mit Akeebe zu installieren. Bin aber bis jetzt nicht erfolgreich. Akeeba meldet Error 500.

    Als Template habe ich das Standard Cassiopeia verwendet. djimageslider funktionierte auch nicht mehr.

    Gruß Tibi

  • Ich habe meine Testseite auf J4.2 aktualisiert und seitdem funktioniert das Modul mod_login nicht mehr.

    Es erzeugt einen crash der Website mit folgendem ERROR:

    error - Uncaught Throwable of type TypeError thrown with message "count(): Argument #1 ($value) must be of type Countable|array, null given".

    Vielleicht hilfreich, musst mal testen (ist zwar Astroid-Framework, aber der Fehler bezieht sich auch auf das mod_login:


    New Issue in Joomla 4.2 · Issue #171 · templaza/astroid-framework
    Hi there, in Joomla 4.2 you get an error like this count(): Argument #1 ($value) must be of type Countable|array, null given The problem is based on the file…
    github.com