acf-move-wp-editor icon indicating copy to clipboard operation
acf-move-wp-editor copied to clipboard

Not working in PHP v8

Open adesignl opened this issue 8 months ago • 1 comments

Seems there is an issue with PHP v8

might need to declare the property ahead of time first


class init {
    // Declare the property explicitly (public, private, or protected as needed)
    public $settings;

    public function __construct() {
        $this->settings = array(); // No warning now as $settings is declared
    }
}```

adesignl avatar Apr 09 '25 17:04 adesignl

Ah, I haven't used this plugin in many years. Care to do a PR?

Log1x avatar Apr 09 '25 18:04 Log1x