Deprecation notices on PHP 8.1
-
Hi and thank you for your hard work.
As PHP 8.0 asctive support will be stopped in less than half a year maybe it’s time to improve your plugin PHP 8.1 compatibility.
There are no major issues but some deprecation notices are thrown. Here they are:PHP Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in \wp-content\plugins\disable-dashboard-for-woocommerce\includes\functions\disable-bloat-functions_free.php on line 101 PHP Deprecated: Return type of FS_Key_Value_Storage::offsetExists($k) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in \wp-content\plugins\disable-dashboard-for-woocommerce\includes\freemius\includes\managers\class-fs-key-value-storage.php on line 309 PHP Deprecated: Return type of FS_Key_Value_Storage::offsetGet($k) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in \wp-content\plugins\disable-dashboard-for-woocommerce\includes\freemius\includes\managers\class-fs-key-value-storage.php on line 317 PHP Deprecated: Return type of FS_Key_Value_Storage::offsetSet($k, $v) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in \wp-content\plugins\disable-dashboard-for-woocommerce\includes\freemius\includes\managers\class-fs-key-value-storage.php on line 301
And many more notices all related to the same file (class-fs-key-value-storage.php)
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Deprecation notices on PHP 8.1’ is closed to new replies.