Plugin has error notices with PHP 8.2
-
Hello there,
I’m testing LLAR 2.25.10 with PHP 8.2, and I found a few notices :
PHP-ERROR.NOTICE: Creation of dynamic property Limit_Login_Attempts::$network_mode is deprecated
on (…)/limit-login-attempts-reloaded/core/LimitLoginAttempts.php line 234PHP-ERROR.NOTICE: Creation of dynamic property Limit_Login_Attempts::$allow_local_options is deprecated
on (…)/limit-login-attempts-reloaded/core/LimitLoginAttempts.php line 244I did not run any static analysis and did not look any further, so there may be more things to fix for complete PHP 8.2 compatibility. But at least, fixing those two notices should very easy, by declaring properties
$network_mode
and$allow_local_options
in classLimit_Login_Attempts
.Ref: https://php.watch/versions/8.2/dynamic-properties-deprecated
I hope this could be fixed in the next release.
By the way, I’m using the free version of this plugin and so far, I’m happy with it, so thank you for your quality work.
Bests regards,
Pierre
- The topic ‘Plugin has error notices with PHP 8.2’ is closed to new replies.