Title: PHP 8 Compatibility
Last modified: November 15, 2022

---

# PHP 8 Compatibility

 *  Resolved [Tano](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-89/)
 * Hi guys,
 * Can you please fix the **PHP 8** compatibility, as the [Query Monitor](https://wordpress.org/plugins/query-monitor/)
   plugin is showing some errors:
    [⌊php-error⌉](https://i0.wp.com/i.ibb.co/zPSjNjP/php-error.png?ssl=1)
 * WP: v6.1
    Plugin: v2.8.2
 * Thanks!

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

 *  Plugin Author [WP Folio Team](https://wordpress.org/support/users/buildwps/)
 * (@buildwps)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-89/#post-16202661)
 * Hi [@tanohex](https://wordpress.org/support/users/tanohex/),
 * Thanks for reaching out to us last night.
 * Our team has tried to reproduce the issue on our testing sites without success.
 * May we know which specific PHP version you’re using now, [@tanohex](https://wordpress.org/support/users/tanohex/)?
 * You might also want to drop us an email at hello(at)preventdirectaccess.com so
   that our team can update you on the checking progress faster & easier.
 *  Thread Starter [Tano](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-89/#post-16209594)
 * Hello,
 * Steps to reproduce the issue:
    1. Get PHP 8.0.15+ hosting 2. Install WordPress
   v6.1.1 3. Install and activate [Query Monitor](https://wordpress.org/plugins/query-monitor/)
   plugin 4. Install and activate [Prevent Direct Access](https://wordpress.org/plugins/prevent-direct-access/)
   5. Visit Prevent Direct Access > Settings > IP Restrictions 6. Get the error 
   🙂
 * Hope it gets fixed in v2.8.3
    Thanks!

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

The topic ‘PHP 8 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/prevent-direct-access/assets/icon-256x256.jpg?rev=3263305)
 * [Prevent Direct Access - Protect WordPress Files](https://wordpress.org/plugins/prevent-direct-access/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/prevent-direct-access/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/prevent-direct-access/)
 * [Active Topics](https://wordpress.org/support/plugin/prevent-direct-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prevent-direct-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prevent-direct-access/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tano](https://wordpress.org/support/users/tanohex/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-89/#post-16209594)
 * Status: resolved