Support

Admin Tools

#41086 Error appearing; Cannot login to admin

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.46
PHP version
8.1
Admin Tools version
7.61

Latest post by nicholas on Wednesday, 04 September 2024 05:32 CDT

AlexR

I am in the middle of migrating a J3 to a J4 site using an extension called MigrateMe4.  This extension essentially installs a J$ site in a subfolder (mm4) that is accessed and worked on to iron out issues before it eventually gets copied over to the main directory.

Everything seemed to go okay but then this morning I tried to log in as admin and saw this error:

An error has occurred.
0 Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler::logRequest(): Argument #3 ($extraLogTableInformation) must be of type string, null given, called in /home/xxx/public_html/xxx/mm4/plugins/system/admintools/src/Feature/TrackFailedLogins.php on line 57

Any has ideas about what it means and if is there a way (like I was able to do in J3 to disable AdminTools by changing the AdminTool filename.

Thanks,
Alex

 

System Task
system
The ticket information has been edited by Alex Ragozzino (AlexR).

AlexR

Did a little digging and found the answer to my second question (https://www.akeeba.com/documentation/admin-tools-joomla/web-application-firewall.html#help-locked-out)

I ended up re-installing AdminTools and it seems to have resolved the issue, but I will wait in case the issue reappears.

I am not sure if this is related:

During the upgrade process of AdminTools for J3  to J4, it did not involve manually uninstalling AdminTools for J3 like I was asked when I upgraded Akeeba Backup.   Is expected behaviour?

When I checked the extensions it doesn't look like the old AdminTools was there so I presume the upgrade to the J4 version must have installed it for me.  Am I correct?

nicholas
Akeeba Staff
Manager

An error has occurred.
0 Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler::logRequest(): Argument #3 ($extraLogTableInformation) must be of type string, null given, called in /home/xxx/public_html/xxx/mm4/plugins/system/admintools/src/Feature/TrackFailedLogins.php on line 57

This issue was fixed in 7.6.1.

Sometimes Joomla does not correctly replace all files during an update. In this case the easiest fix is to install the new version twice in a row without uninstalling before or in between. This fixes the problem without losing any data / settings.

Of course, you reinstalling the software has the same effect, you just lose settings unless you export before uninstalling and import them after re-installing.

During the upgrade process of AdminTools for J3  to J4, it did not involve manually uninstalling AdminTools for J3 like I was asked when I upgraded Akeeba Backup.   Is expected behaviour?

Yes, this is normal. All of our software upgrades in place when moving from Joomla! 3 to 4 except for Akeeba Backup. 

Akeeba Backup needed a migration because we renamed the component from com_akeeba to com_akeebabackup.

You probably don't remember this, but we had done the same back in 2010 when the component was renamed from com_joomlapack to com_akeeba. Back then we only had one product so the component name made sense. It was no longer appropriate, hence the renaming.

When I checked the extensions it doesn't look like the old AdminTools was there so I presume the upgrade to the J4 version must have installed it for me.  Am I correct?

Pretty much. After upgrading to Joomla! 4 the update to Admin Tools 7 was detected. You installed it, which replaced the old Admin Tools 6 (for Joomla! 3) in place.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

AlexR

Thanks, Nicholas

I was able to reinstall AdminTools after I disabled it renaming the provider.php so all looks good now.

I appreciate confirming how the upgrade was meant to function.    It's put my mind at ease it all worked out so far.  I'll be glad when J3 is behind me!  

Have a great day!

Alex

 

 

 

 

nicholas
Akeeba Staff
Manager

You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!