Title: php8.1 issues
Last modified: June 30, 2022

---

# php8.1 issues

 *  Resolved [fowlerj](https://wordpress.org/support/users/fowlerj/)
 * (@fowlerj)
 * [4 years ago](https://wordpress.org/support/topic/php8-1-issues/)
 * Thank you so much for your work developing and keeping alive post-smtp. It is
   a life-saver.
 * We are still using php8.0, so this isn’t an issue yet, but are looking to move
   to php8.1. We ran across these errors:
 *     ```
       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 /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/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 /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/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 /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/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 /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/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 /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/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 /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/freemius/includes/managers/class-fs-key-value-storage.php on line 339
   
       Deprecated: Return type of FS_Key_Value_Storage::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/freemius/includes/managers/class-fs-key-value-storage.php on line 350
   
       Deprecated: Return type of FS_Key_Value_Storage::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/freemius/includes/managers/class-fs-key-value-storage.php on line 362
   
       Deprecated: Return type of FS_Key_Value_Storage::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/freemius/includes/managers/class-fs-key-value-storage.php on line 375
   
       Deprecated: Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/dev.adst.org/wp-content/plugins/post-smtp/freemius/includes/managers/class-fs-key-value-storage.php on line 389
       ```
   
 * Just wanted to report them. Thank you again.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [4 years ago](https://wordpress.org/support/topic/php8-1-issues/#post-15788380)
 * [@fowlerj](https://wordpress.org/support/users/fowlerj/)
 * Hope you are doing good.
 * let me test and also discuss this issue with the freemius team, will get back
   to you soon.
 * Thanks`
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [4 years ago](https://wordpress.org/support/topic/php8-1-issues/#post-15825759)
 * Hi [@fowlerj](https://wordpress.org/support/users/fowlerj/),
 * Hope you are doing good.
 * The issue is fixed, you can test the Beta version on your staging websites first
   then update the plugin on your live websites.
 * Download the Beta 2.1.4 version from **[here](https://downloads.wordpress.org/plugin/post-smtp.2.1.4-beta.1.zip)**.
 * Let me know if the issue is still there.
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php8.1 issues’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/php8-1-issues/#post-15825759)
 * Status: resolved