Support » Plugin: ACF City Selector » Can’t Activate the Plugin

  • The plugin won’t activate for me. I have ACF Pro installed. Just tries to activate it then doesn’t. I get this notice from my error log

    Notice: Undefined property: stdClass::$country_code in /home/mysite.com/myserver/public_html/wp-content/plugins/acf-city-selector/inc/acfcs-functions.php on line 39

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Beee

    (@beee)

    It looks like you have no countries in your database.

    If you look on line 31 you see that is where the countries are retrieved.

    If by some chance this fails you have no country code.

    I will look into this to see if the function is called before the countries are inserted.

    • This reply was modified 9 months, 2 weeks ago by Beee.
    Plugin Author Beee

    (@beee)

    I just tried activating it on a clean install and didn’t get any errors/problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t Activate the Plugin’ is closed to new replies.