0 Event onUserLogin only accepts Boolean results Topic is solved

Need help upgrading your Joomla! website or converting to Joomla! 5.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
othmar
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jul 05, 2012 12:34 pm

0 Event onUserLogin only accepts Boolean results

Post by othmar » Mon Nov 06, 2023 5:56 pm

Hi, seemed i successfully upgraded from joomla 4.4 to 5.0

But now i'm not able anymore to login as a user.

These are the registrations in the log file i activated, grateful for any help

#
#<?php die('Forbidden.'); ?>
#Date: 2023-11-06 17:45:50 UTC
#Software: Joomla! 5.0.0 Stable [ Kuboresha ] 17-October-2023 16:00 GMT

#Fields: datetime priority clientip category message
2023-11-06T17:45:50+00:00 CRITICAL 104.28.62.72 error Uncaught Throwable of type InvalidArgumentException thrown with message "Event onUserLogin only accepts Boolean results.". Stack trace: #0 [ROOT]/libraries/src/Event/Result/ResultAware.php(64): Joomla\CMS\Event\User\LoginEvent->typeCheckResult()
#1 [ROOT]/libraries/src/Event/Result/ResultAware.php(102): Joomla\CMS\Event\User\LoginEvent->addResult()
#2 [ROOT]/libraries/src/Event/Result/ResultAware.php(128): Joomla\CMS\Event\User\LoginEvent->setResult()
#3 [ROOT]/libraries/src/Event/AbstractEvent.php(225): Joomla\CMS\Event\User\LoginEvent->onSetResult()
#4 [ROOT]/plugins/system/admintools/src/Extension/AdminTools.php(395): Joomla\CMS\Event\AbstractEvent->setArgument()
#5 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(454): Joomla\Plugin\System\AdminTools\Extension\AdminTools->onUserLogin()
#6 [ROOT]/libraries/src/Application/CMSApplication.php(895): Joomla\Event\Dispatcher->dispatch()
#7 [ROOT]/libraries/src/Application/AdministratorApplication.php(350): Joomla\CMS\Application\CMSApplication->login()
#8 [ROOT]/administrator/components/com_login/src/Controller/DisplayController.php(83): Joomla\CMS\Application\AdministratorApplication->login()
#9 [ROOT]/libraries/src/MVC/Controller/BaseController.php(730): Joomla\Component\Login\Administrator\Controller\DisplayController->login()
#10 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute()
#11 [ROOT]/administrator/components/com_login/src/Dispatcher/Dispatcher.php(45): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#12 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\Component\Login\Administrator\Dispatcher\Dispatcher->dispatch()
#13 [ROOT]/libraries/src/Application/AdministratorApplication.php(150): Joomla\CMS\Component\ComponentHelper::renderComponent()
#14 [ROOT]/libraries/src/Application/AdministratorApplication.php(195): Joomla\CMS\Application\AdministratorApplication->dispatch()
#15 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\AdministratorApplication->doExecute()
#16 [ROOT]/administrator/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#17 [ROOT]/administrator/index.php(32): require_once('/home/urne9yip/...')
#18 {main}
2023-11-06T17:45:50+00:00 WARNING 104.28.62.72 assets No asset found for com_modules.module.366, falling back to com_modules
2023-11-06T17:45:50+00:00 WARNING 104.28.62.72 assets No asset found for com_modules.module.366, falling back to com_modules

othmar
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jul 05, 2012 12:34 pm

Re: 0 Event onUserLogin only accepts Boolean results

Post by othmar » Mon Nov 06, 2023 6:59 pm

Hi,
it was admintools, disabled and now upgraded, it's fine now

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 0 Event onUserLogin only accepts Boolean results

Post by toivo » Mon Nov 06, 2023 10:01 pm

The latest version of Admin Tools, 7.4.4, was released a few hours ago with "bug fixes and minor improvements".
Toivo Talikka, Global Moderator


Post Reply

Return to “Migrating and Upgrading to Joomla! 5.x”