Title: PHP error
Last modified: February 2, 2022

---

# PHP error

 *  [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-508/)
 * Hello,
 * I am trying your plugin and I noticed I am getting PHP errors..
 *     ```
        Feb 02, 17:28:52
       Warning: Attempt to read property "refused queries" on string in /wp-content/plugins/proxy-vpn-blocker/proxy-vpn-blocker-function.php on line 393
   
       Feb 02, 17:28:52
       Warning: Attempt to read property "undetected" on string in /wp-content/plugins/proxy-vpn-blocker/proxy-vpn-blocker-function.php on line 392
   
       Feb 02, 17:28:52
       Warning: Attempt to read property "vpns" on string in /wp-content/plugins/proxy-vpn-blocker/proxy-vpn-blocker-function.php on line 391
   
       Feb 02, 17:28:52
       Warning: Attempt to read property "proxies" on string in /wp-content/plugins/proxy-vpn-blocker/proxy-vpn-blocker-function.php on line 390
       ```
   
 * I believe I have it set up correctly.
 * Thanks.

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

 *  Plugin Author [Proxy & VPN Blocker](https://wordpress.org/support/users/rickstermuk/)
 * (@rickstermuk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-508/#post-15324063)
 * Hello Seath,
 * Thank you for bringing this to my attention, this wasn’t so much a bug with Proxy&
   VPN Blocker Plugin, but there was an issue with the API endpoint at proxycheck.
   io which the plugin was checking to determine if the Dashboard API was enabled
   for your API Key, that has now been fixed by proxycheck.io. I hope that this 
   means that your PHP Warnings will now go away on your site. Note however, that
   the Dashboard API must be enabled in your proxycheck account for the Statistics
   page to work in Proxy & VPN Blocker Settings in WordPress Admin.
 * However, bringing this to my attention has located a couple of other problems
   in the Plugin’s Statistics page itself that will be resolved in the next update
   that will be released some time this month.
 * Thank you,
    Rick.
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-508/#post-15326523)
 * I’ll be waiting for the update
    Thanks Rick

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

The topic ‘PHP error’ is closed to new replies.

 * ![](https://ps.w.org/proxy-vpn-blocker/assets/icon-256x256.png?rev=3343068)
 * [Proxy & VPN Blocker](https://wordpress.org/plugins/proxy-vpn-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/proxy-vpn-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/proxy-vpn-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/proxy-vpn-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/proxy-vpn-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/proxy-vpn-blocker/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Seath](https://wordpress.org/support/users/seath/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-508/#post-15326523)
 * Status: not resolved