Title: PHP 8.1 compatibility
Last modified: August 19, 2022

---

# PHP 8.1 compatibility

 *  [Saskia Teichmann](https://wordpress.org/support/users/jyria/)
 * (@jyria)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-8-1-compatibility-7/)
 * Getting PHP Deprecated notics when switching my php version from 7.4 to 8.1
    
   Please fix to make your plugin perfectly compatible with php 8.1:
 *     ```
       [19-Aug-2022 19:02:23 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/nginx-helper/admin/class-nginx-helper-admin.php on line 676
       [19-Aug-2022 19:02:23 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/nginx-helper/admin/class-nginx-helper-admin.php on line 681
       ```
   

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

 *  [Skrlance](https://wordpress.org/support/users/seanlance/)
 * (@seanlance)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-compatibility-7/#post-16075881)
 * I also tried WordPress 6.1 beta in local with php 8.1 and I see these deprecation
   notices on Query Monitor plugin. I don’t think it will be a hard work for the
   plugin developer to fix these issues unless if this plugin isn’t supported anymore!!
 *  Thread Starter [Saskia Teichmann](https://wordpress.org/support/users/jyria/)
 * (@jyria)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-compatibility-7/#post-16216791)
 * Any news? end of service for php 7.4 is coming by dec 31 2022. So we need devs
   to adapt their code for php 8.x please
 *  [dlynch027](https://wordpress.org/support/users/dlynch027/)
 * (@dlynch027)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-1-compatibility-7/#post-16373576)
 * has the plugin been abandoned? any word from the developer?
 *  [slapbox](https://wordpress.org/support/users/slapbox/)
 * (@slapbox)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-compatibility-7/#post-16396670)
 * Still doesn’t work on PHP8.1 (errors out, not just deprecation notices,) though
   it’s not clear why. There’s no error message I can find anywhere.
 * Edit: It’s actually caused by QueryMonitor: [https://github.com/rtCamp/nginx-helper/issues/255](https://github.com/rtCamp/nginx-helper/issues/255)
    -  This reply was modified 3 years, 2 months ago by [slapbox](https://wordpress.org/support/users/slapbox/).
    -  This reply was modified 3 years, 2 months ago by [slapbox](https://wordpress.org/support/users/slapbox/).

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

The topic ‘PHP 8.1 compatibility’ is closed to new replies.

 * ![](https://ps.w.org/nginx-helper/assets/icon.svg?rev=2360932)
 * [Nginx Helper](https://wordpress.org/plugins/nginx-helper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nginx-helper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nginx-helper/)
 * [Active Topics](https://wordpress.org/support/plugin/nginx-helper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nginx-helper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nginx-helper/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [slapbox](https://wordpress.org/support/users/slapbox/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-compatibility-7/#post-16396670)
 * Status: not resolved