[wp-trac] [WordPress Trac] #54704: WordPress PHP 8.1 compatible?
WordPress Trac
noreply at wordpress.org
Tue Dec 28 11:29:19 UTC 2021
#54704: WordPress PHP 8.1 compatible?
--------------------------+-----------------------------
Reporter: BackuPs | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi
I tried using php 8.1 but i get a lot of deprecated messages with any of
the default wp themes and a clean install with no plugins active.
May i ask when wordpress is gonna support php 8.1?
To see the warning message just goto any admin area. The one with the most
warnings is the appearance -> themes page.
Thank you for any feedback.
{{{
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 /var/docs/wpcheck.tst/public/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 /var/docs/wpcheck.tst/public/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 /var/docs/wpcheck.tst/public
/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 /var/docs/wpcheck.tst/public/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 /var/docs/wpcheck.tst/public/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
/var/docs/wpcheck.tst/public/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 /var/docs/wpcheck.tst/public/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
Deprecated: Return type of
Requests_Utility_CaseInsensitiveDictionary::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 /var/docs/wpcheck.tst/public/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
Deprecated: Return type of
Requests_Utility_CaseInsensitiveDictionary::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 /var/docs/wpcheck.tst/public/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
Deprecated: Return type of
Requests_Utility_CaseInsensitiveDictionary::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 /var/docs/wpcheck.tst/public/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
Deprecated: Return type of
Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be
compatible with IteratorAggregate::getIterator(): Traversable, or the
#[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /var/docs/wpcheck.tst/public/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type
string is deprecated in /var/docs/wpcheck.tst/public/wp-
includes/formatting.php on line
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54704>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list