Closed pd-cm closed 1 year ago
PHP ver 8.1.2 WP 6.3 Pods 2.9.19 I too get a PHP deprecated notice as follows:
PHP Deprecated: Return type of Pods\API\Whatsit\Value_Field::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 /var/www/avasarala.in/wp-content/plugins/pods/src/Pods/API/Whatsit/Value_Field.php on line 70
Hi @spinozarabel
These errors are patched in Pods 3.0 through several patches. Most recent: https://github.com/pods-framework/pods/pull/7146
Cheers, Jory
Description
PHP v8.2, WP v6.3, Pods v2.9.19
See https://stackoverflow.com/q/74991682 See https://wordpress.org/support/topic/deprecated-code-alert/ See https://podswp.slack.com/archives/C02SVLHQF/p1692868980832349
Version
2.9.19
Testing Instructions
Screenshots / Screencast
No response
Possible Workaround
The vars probably need to be explicitly declared.
Site Health Information
No response
Pods Package
No response