Title: WP-CLI PHP 8.2 deprecation
Last modified: June 16, 2023

---

# WP-CLI PHP 8.2 deprecation

 *  Resolved [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/)
 * Hi there,
 * When using WP-CLI, I get the following deprecation notice:
 *     ```wp-block-code
       Deprecated: Creation of dynamic property Disable_Comment_Command::$dc_instance is deprecated in /path/to/my/site/wp-content/plugins/disable-comments/includes/cli.php on line 11
       ```
   
 * I’m on PHP 8.2.7, WordPress 6.2.2, and Disable Comments 2.4.3.
 * Everything works fine, but I thought you’d want to know.
 * Cheers,
   Wiegert

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

 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/#post-16826981)
 * Hi [@devfirst](https://wordpress.org/support/users/devfirst/) ,
 * Thanks for pointing this out. We will check and fix this and will give a release/
   patch for this don’t worry.
 * I will keep you updated here!
   Cheers!
 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/#post-16829466)
 * Hi [@devfirst](https://wordpress.org/support/users/devfirst/) ,
 * We’ve fixed the issue that you mentioned and released it on production.
 * Please update the Disable Comments plugin version to **2.4.4** to get this fixed**.**
 * Thank you!
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/#post-16829962)
 * [@abidhasan112](https://wordpress.org/support/users/abidhasan112/) that’s great
   to hear! Thanks for the rapid responses and fix! 💯
 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/#post-16829980)
 * You’re always welcome [@devfirst](https://wordpress.org/support/users/devfirst/)
   
   If you love our support and plugin, that would be awesome if you review **Disable
   Comments** plugin from here: [https://wordpress.org/support/plugin/disable-comments/reviews/#new-post](https://wordpress.org/support/plugin/disable-comments/reviews/#new-post)
 * This will help us to grow more.
   Have a good day!

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

The topic ‘WP-CLI PHP 8.2 deprecation’ is closed to new replies.

 * ![](https://ps.w.org/disable-comments/assets/icon-256x256.png?rev=2509854)
 * [Disable Comments - Remove Comments & Stop Spam [Multi-Site Support]](https://wordpress.org/plugins/disable-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-comments/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/#post-16829980)
 * Status: resolved