Support

Admin Tools

#37293 Cannot save other plugin settings when Error reporting enabled

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

Latest post by n3t.cz on Thursday, 16 June 2022 13:36 CDT

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