Title: PHP 8.1 Error / Deprecated
Last modified: April 20, 2022

---

# PHP 8.1 Error / Deprecated

 *  Resolved [yaworek](https://wordpress.org/support/users/yaworek/)
 * (@yaworek)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-deprecated/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-1-error-deprecated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [5 Star Plugins (Rob)](https://wordpress.org/support/users/5starplugins/)
 * (@5starplugins)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-deprecated/#post-15576874)
 * Hi [@yaworek](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/featured-images-for-rss-feeds/assets/icon-256x256.png?rev
   =1546995)
 * [Featured Images in RSS for Mailchimp & More](https://wordpress.org/plugins/featured-images-for-rss-feeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-images-for-rss-feeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)

 * 1 reply
 * 2 participants
 * Last reply from: [5 Star Plugins (Rob)](https://wordpress.org/support/users/5starplugins/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-deprecated/#post-15576874)
 * Status: resolved