Support

Admin Tools

#37293 Cannot save other plugin settings when Error reporting enabled

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
4.1.4
PHP version
8.1.7
Admin Tools version
7.1.8

n3t.cz

Hi,Β 

new Joomla installation, everything updated, Error reporting in global configuration set to Maximum.

When I go to any plugin settings and save it, Joomla 500 error is displayed, settings is not saved.Β 

At the top of page and in PHP error log isΒ 

PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /..../plugins/system/admintools/src/Feature/ProtectAgainstDeactivation.php on line 149

Probably PHP 8.1 issue. Could be solved by switching off Error reporting in global configuration.

Pavel

nicholas
Akeeba Staff
Manager

Yup, that's a deprecated warning which started appearing in PHP 8.1. We'll fix it in the next release. It's a simple fix, replace the second $id with $id ?? ''

 

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!

n3t.cz

Works, thanks

Pavel

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.