• Resolved giangel84

    (@giangel84)


    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

Viewing 1 replies (of 1 total)
  • Thread Starter giangel84

    (@giangel84)

    In order to fix this issue and update the plugin, you just need to add these lines inside ACF_City_Selector Class:

    class ACF_City_Selector {
    
        // Properties declaration
        public $settings;
        public $l10n;

    This will maintain compatibility with PHP 8.2 (and earlier versions), and keep the logs cleaner.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.