• Resolved yaworek

    (@yaworek)


    Hi, I get the following errors after updating to php 8.1.

    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 /alt/home/webmaster.crowdmedia/www/dev/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 309

    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 /alt/home/webmaster.crowdmedia/www/dev/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 317

    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 /alt/home/webmaster.crowdmedia/www/dev/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 301

    Deprecated: Return type of FS_Key_Value_Storage::offsetUnset($k) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /alt/home/webmaster.crowdmedia/www/dev/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 313

    Deprecated: Return type of FS_Key_Value_Storage::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /alt/home/webmaster.crowdmedia/www/dev/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 328

    Deprecated: Return type of FS_Key_Value_Storage::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /alt/home/webmaster.crowdmedia/www/dev/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 339

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author 5 Star Plugins

    (@5starplugins)

    Hi @yaworek our plugin uses the Freemius SDK, and their SDK returns deprecated warnings currently, but they can be ignored, as they are not fatal errors and cause no issues with the functionality of the site or plugin.

    You can turn off WP_DEBUG to prevent displaying Notice and Warning messages, which is recommended on live production sites.

    Their SDK will be updated over time to address any serious PHP 8 issues over time, but right now it’s not recommended to use PHP 8 because many plugins will cause fatal errors, which are more severe than just expected deprecation warnings.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8.1 Error / Deprecated’ is closed to new replies.