Title: PHP 8.* compatibility
Last modified: August 8, 2022

---

# PHP 8.* compatibility

 *  Resolved [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * (@chamois_blanc)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-compatibility-61/)
 * PHP 8.1 reports the following deprecated messages:
 *     ```
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 351
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of & Pods\Whatsit::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 362
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::offsetSet($offset, $value) 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 .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 375
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 389
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 285
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 306
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 322
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 315
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 329
       [08-Aug-2022 00:16:49 UTC] PHP Deprecated:  Return type of Pods\Whatsit::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../public_html/wp-content/plugins/pods/src/Pods/Whatsit.php on line 299
       ```
   

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

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-compatibility-61/#post-15896665)
 * Hi [@chamois_blanc](https://wordpress.org/support/users/chamois_blanc/)
 * Please report such error on GitHub! These forums are for support only.
    pods.
   io/submit
 * Cheers, Jory
 *  Thread Starter [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * (@chamois_blanc)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-compatibility-61/#post-15899641)
 * Sure, done!

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

The topic ‘PHP 8.* compatibility’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

 * [deprecation](https://wordpress.org/support/topic-tag/deprecation/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-compatibility-61/#post-15899641)
 * Status: resolved