Title: PHP Error
Last modified: April 24, 2017

---

# PHP Error

 *  Resolved [saphiro](https://wordpress.org/support/users/saphiro/)
 * (@saphiro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-error-231/)
 * Hi,
 * I’m having this error, hope you can help me with that.
 * PHP Fatal error: Undefined class constant ‘PLUGIN_SLUG’ in /home/user/public_html/
   wp-content/plugins/ip-geo-block/admin/class-ip-geo-block-admin.php on line 952
 * Thank you!

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

 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-error-231/#post-9061687)
 * Hi [@saphiro](https://wordpress.org/support/users/saphiro/),
 * Oh! it’s a rookie mistake!! `PLUGIN_SLUG` should be `PLUGIN_NAME`!!
 * I’m very sorry for your inconvenience but I still have other things to be fixed.
   So Until I release the fixed version, I’d appreciate if you download the temporary
   version from [https://github.com/tokkonopapa/WordPress-IP-Geo-Block/archive/3.0.2.2.zip](https://github.com/tokkonopapa/WordPress-IP-Geo-Block/archive/3.0.2.2.zip)
   and unzip it, then upload “class-ip-geo-block-admin.php” to your “/wp-content/
   plugins/ip-geo-block/admin/” by using FTP or something.
 *     ```
       WordPress-IP-Geo-Block-3.0.2.2
       ├── ip-geo-block
       │   ├── admin
       │   │   ├── class-ip-geo-block-admin.php <== this one!
       .....
       ```
   
 * You can find [the related document](http://www.ipgeoblock.com/changelog/release-2.2.7.html)
   on my blog.
 * Thank you so much for your reporting this issue!
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-error-231/#post-9084237)
 * Hi [@saphiro](https://wordpress.org/support/users/saphiro/),
 * Sorry to have kept you waiting but I fixed this issue on 3.0.2.2.
 * Thank you for reporting!

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

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

 * ![](https://ps.w.org/ip-geo-block/assets/icon-128x128.png?rev=1148568)
 * [IP Geo Block](https://wordpress.org/plugins/ip-geo-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip-geo-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip-geo-block/)
 * [Active Topics](https://wordpress.org/support/plugin/ip-geo-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip-geo-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip-geo-block/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-error-231/#post-9084237)
 * Status: resolved