Support

Admin Tools

#43016 PHP Warnings

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
5.4.6
PHP version
n/a
Admin Tools version
8.4.21

Latest post by nicholas on Thursday, 11 June 2026 15:44 CDT

dwreski

We are seeing these undefined warnings

`Warning: Undefined variable $isHttpsForced in/var/www/www.site.com-443/html/plugins/system/admintools/src/Feature/AdminSecretWord.phpon line 369

Warning: Cannot modify header information - headers already sent by (output started at /var/www/www.site.com-443/html/plugins/system/admintools/src/Feature/AdminSecretWord.php:369) in/var/www/www.site.com-443/html/libraries/src/Input/Cookie.php on line1 08`

nicholas
Akeeba Staff
Manager

Uh, you say that the Admin Tools version is "8.4.21" but that cannot be true since the latest published version is 7.8.9. What is the actual Admin Tools version you are using?

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!

dwreski

Oops, not sure where that came from.

Admin Tools Professional 7.8.9 Released on 01 June 2026  

nicholas
Akeeba Staff
Manager

This is indeed a bug in Admin Tools 7.8.9. The destroyCookie() method in the Admin Secret Word feature had a variable ($isHttpsForced) that was only initialised inside the Joomla 6.x code branch, but was also used in the Joomla 5.x branch below it. On any Joomla 5.x site the variable would be undefined, triggering the PHP warning — and since the warning was output before the cookie header could be sent, that in turn caused the cascading “headers already sent” warning.

We have fixed this and uploaded a developer’s release for you to test:

https://www.akeeba.com/download/developer-releases.html 

Please scroll down to the Admin Tools for Joomla! section. The latest dev release at the top of that section contains the fix. Install it over your existing version and let us know if the warnings are gone.

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!