[wp-trac] [WordPress Trac] #55411: Deprecated error in WordPress 5.9 on PHP 8.1
WordPress Trac
noreply at wordpress.org
Thu Mar 17 10:24:37 UTC 2022
#55411: Deprecated error in WordPress 5.9 on PHP 8.1
---------------------------+------------------------------
Reporter: meysamnorouzi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.9.2
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by meysamnorouzi):
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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/wp-
includes/Requests/Cookie/Jar.php on line 111
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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/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 /opt/lampp/htdocs/wp/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55411#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list