Title: Plugin has error notices with PHP 8.2
Last modified: January 9, 2023

---

# Plugin has error notices with PHP 8.2

 *  Resolved [Pierre Dargham](https://wordpress.org/support/users/pdargham/)
 * (@pdargham)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/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 234
 * `PHP-ERROR.NOTICE: Creation of dynamic property Limit_Login_Attempts::$allow_local_options
   is deprecated
   on (…)/limit-login-attempts-reloaded/core/LimitLoginAttempts.php
   line 244
 * I 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 class `Limit_Login_Attempts`.
 * Ref: [https://php.watch/versions/8.2/dynamic-properties-deprecated](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

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [WPChef](https://wordpress.org/support/users/wpchefgadget/)
 * (@wpchefgadget)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-has-error-notices-with-php-8-2/#post-16370418)
 * We got a fix for this and plan on deploying it on Monday.
 *  Plugin Author [WPChef](https://wordpress.org/support/users/wpchefgadget/)
 * (@wpchefgadget)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-has-error-notices-with-php-8-2/#post-16381710)
 * This has been now fixed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin has error notices with PHP 8.2’ is closed to new replies.

 * ![](https://ps.w.org/limit-login-attempts-reloaded/assets/icon-256x256.png?rev
   =2456910)
 * [Limit Login Attempts Security - Login Security, 2FA, Firewall, Brute Force Prevention](https://wordpress.org/plugins/limit-login-attempts-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/limit-login-attempts-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/limit-login-attempts-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/limit-login-attempts-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/limit-login-attempts-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/limit-login-attempts-reloaded/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [WPChef](https://wordpress.org/support/users/wpchefgadget/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-has-error-notices-with-php-8-2/#post-16381710)
 * Status: resolved