Hello,
using PHP 8.3 this plugin is filling the debug.log with two PHP Deprecated errors:1 - PHP Deprecated: Creation of dynamic property ACF_City_Selector::$settings is deprecated in /home/wp-content/plugins/acf-city-selector/ACF_City_Selector.php on line 35
2 - PHP Deprecated: Creation of dynamic property ACF_City_Selector::$l10n is deprecated in /home/wp-content/plugins/acf-city-selector/ACF_City_Selector.php on line 81
Please take a look about and check if a code update is needed.
Thank you
Inside file “/inc/acfcs-actions.php” line 30 you have this:
add_action( 'acfcs_delete_transients', 'i will try acfcs_delete_transients' );
I just commented that line and all works (almost) well.
There seems to be bugs in the import process because neither the raw import neither the file import worked so we had to manually import to the table in wp_cities with mysql.
Also, we had to delete all entries and reimport because we had a mistake in my cities but then this created some type of cache (we don’t use any cache in our development server) and I still see the incorrect options although transients were (supposedly) cleared and no cache is active.
]]>Hello Beee,
Thanks so much for this valuable plugin!
I would highly request that a third field is added for
neighborhood as it will help in providing narrowed locations.
Thanks for your anticipated consideration.
Thanks and God bless.
]]>Hi,
Since updating the plugin I get an error my website (and admin) goes blanc.
I commented line 38 (‘version’ => get_plugin_data( __FILE__ )[‘Version’],) and the error dissapeared.
Fatal error: Uncaught Error: Call to undefined function get_plugin_data() in /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-content/plugins/acf-city-selector/ACF_City_Selector.php:38 Stack trace: #0 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-content/plugins/acf-city-selector/ACF_City_Selector.php(417): ACF_City_Selector->__construct() #1 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-settings.php(428): include_once(‘/data/sites/web…’) #2 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-config.php(101): require_once(‘/data/sites/web…’) #3 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-load.php(50): require_once(‘/data/sites/web…’) #4 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-blog-header.php(13): require_once(‘/data/sites/web…’) #5 /data/sites/web/domainnamecom/subsites/staging.domain.be/index.php(17): require(‘/data/sites/web…’) #6 {main} thrown in /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-content/plugins/acf-city-selector/ACF_City_Selector.php on line 38
]]>hi
gow can I use this field in elementor?
]]>Hi
I’m using your plugin to get state and city at registration time.
it will be added to default WP register form. but I need to add it to UserPro plugin. by adding custom field to UserPro only I can add 1 selectDropdown but 2 selectDropdown is required One for state and another for city.
how can I add it to userpro register form ?
thanks
]]>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?
]]>