{"id":15785425,"date":"2022-06-30T14:13:03","date_gmt":"2022-06-30T14:13:03","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php8-1-issues\/"},"modified":"2022-06-30T14:13:03","modified_gmt":"2022-06-30T14:13:03","slug":"php8-1-issues","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php8-1-issues\/","title":{"rendered":"php8.1 issues"},"content":{"rendered":"<p>Thank you so much for your work developing and keeping alive post-smtp.  It is a life-saver.<\/p>\n<p>We are still using php8.0, so this isn&#8217;t an issue yet, but are looking to move to php8.1.  We ran across these errors:<\/p>\n<pre><code>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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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\n\nDeprecated: 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<\/code><\/pre>\n<p>Just wanted to report them.  Thank you again.<\/p>\n","protected":false},"template":"","class_list":["post-15785425","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15785425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15785425\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15785425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}