Deprecated – PHP 8.1
-
Hi,
PHP 8.2 will be available in 2 days and WordPress (6.1.1) still hasn’t fixed the ‘deprecated’ issue with PHP 8.1 !
This is annoying and makes it almost impossible to use WordPress in define(‘WP_DEBUG’, true) mode.Deprecated List :
- Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in …wp-includes/Requests/Cookie/Jar.php on line 63
- Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in …wp-includes/Requests/Cookie/Jar.php on line 73
- Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $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 …wp-includes/Requests/Cookie/Jar.php on line 89
- Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in …wp-includes/Requests/Cookie/Jar.php on line 102
- Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in …wp-includes/Requests/Cookie/Jar.php on line 111
- Deprecated: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in …wp-includes/Requests/Transport/cURL.php on line 345
- Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in …wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
- … more and more…
- Warning: Cannot modify header information – headers already sent by (output started at …wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:15) in …wp-admin/admin-header.php on line 9
Are there any plans to update the code ?
Regards,
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Deprecated – PHP 8.1’ is closed to new replies.