Support

Admin Tools

#43461 Type Error in BlockedRequestHandler

Posted in ‘Admin Tools for Joomla!’
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
6.2.0
PHP version
8.4
Admin Tools version
7.9.3

Latest post by vnation on Thursday, 29 October 2026 11:29 CDT

vnation

Good morning, 

I recently get the error below when Admin Tools is blocking requests. Are you already aware of this? I'm not quite sure when this started, but it's there not for long. Interestingly, I don't get this error on my main page. 

Thank you! 

Sven

 

Exception Type: TypeError
File: /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Utility/BlockedRequestHandler.php
Line: 889
Message: Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler::escapeLogLine(): Argument #1 ($value) must be of type string, null given, called in /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Utility/BlockedRequestHandler.php on line 863

#0 /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Utility/BlockedRequestHandler.php(863): Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler->escapeLogLine()
#1 /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Utility/BlockedRequestHandler.php(173): Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler->logRequestToFile()
#2 /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Utility/BlockedRequestHandler.php(217): Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler->logRequest()
#3 /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Feature/SQLiShield.php(94): Akeeba\Plugin\System\AdminTools\Utility\BlockedRequestHandler->blockRequest()
#4 /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Extension/AdminTools.php(844): Akeeba\Plugin\System\AdminTools\Feature\SQLiShield->onAfterRoute()
#5 /var/www/virtual/sbluege3/html/demo/plugins/system/admintools/src/Extension/AdminTools.php(268): Akeeba\Plugin\System\AdminTools\Extension\AdminTools->runVoidFeature()
#6 /var/www/virtual/sbluege3/html/demo/libraries/vendor/joomla/event/src/Dispatcher.php(454): Akeeba\Plugin\System\AdminTools\Extension\AdminTools->onAfterRoute()
#7 /var/www/virtual/sbluege3/html/demo/libraries/vendor/joomla/application/src/AbstractApplication.php(99): Joomla\Event\Dispatcher->dispatch()
#8 /var/www/virtual/sbluege3/html/demo/libraries/src/Application/SiteApplication.php(651): Joomla\Application\AbstractApplication->dispatchEvent()
#9 /var/www/virtual/sbluege3/html/demo/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
#10 /var/www/virtual/sbluege3/html/demo/libraries/src/Application/CMSApplication.php(320): Joomla\CMS\Application\SiteApplication->doExecute()
#11 /var/www/virtual/sbluege3/html/demo/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#12 /var/www/virtual/sbluege3/html/demo/index.php(51): require_once('...')
#13 {main}

 

nicholas
Akeeba Staff
Manager

This appears to be due to a latent bug in file logging which has existed throughout Admin Tools 7 ever since its first release in 2021. Version 7.9.3 implemented a change so that a bug like that isn't silently ignored, but raised as a TypeException. However, the release 7.9.3 version did not include the second part of the fix which addressed the root cause and, crucially, also included the missing integration tests for this feature.

The fix will be included in 7.9.4. In the meantime, you can set "Keep a debug log file" to No

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!

vnation

Alright! 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!