Support » Plugin: CF Geo Plugin - WordPress Geo Plugin » Class CF_Geoplugin does not exist

  • Resolved Ducky

    (@archaicsoftware)


    Am trying to access CF Geo Plugin through PHP and am getting the error that the class CF_Geoplugin does not exist. Here is my code:

    $cf_geo = new CF_Geoplugin;
    $geo = $cf_geo->get();
    $countryCode = $geo->country_code;

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ivijan-Stefan Stipic

    (@ivijanstefan)

    Hello,

    Can you tell me please your PHP version?

    Ducky

    (@archaicsoftware)

    Currently have php version 7.2 installed.

    Ducky

    (@archaicsoftware)

    If I run the shortcodes everything works as expected.

    Plugin Author Ivijan-Stefan Stipic

    (@ivijanstefan)

    WordPress seems to have changed the functionality and way of calling files.

    We will need to make changes to the PHP calls. Feel free to use shortcode and we’ll soon add new changes and fix this problems ASAP.

    Follow all updates but also will notify you soon.

    Thanks!

    Plugin Author Ivijan-Stefan Stipic

    (@ivijanstefan)

    On new CF Geo Plugin version 7.5.6 you will have fixed problems with “Class CF_Geoplugin does not exist”.

    If you notice some problems please let me know.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Class CF_Geoplugin does not exist’ is closed to new replies.