• Resolved saphiro

    (@saphiro)


    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

    (@tokkonopapa)

    Hi @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 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 on my blog.

    Thank you so much for your reporting this issue!

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @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.