Fix for PHP 7.3 – settings
-
Hello
I wanted to use your plugin in one of my website, but noticed that the settings was not saved.
On the file as3cf-plugin-base.php it is necessary to change the line 117
$saved_settings = get_site_option( static::SETTINGS_KEY );
To
$saved_settings = get_site_option( static::SETTINGS_KEY , []);
To be sure, that we get an array in $saved_settings and not a string.
best regards
- The topic ‘Fix for PHP 7.3 – settings’ is closed to new replies.