[wp-trac] [WordPress Trac] #56612: PHP 8.1.10 bug Core WP Deprecated errors
WordPress Trac
noreply at wordpress.org
Tue Sep 20 20:21:26 UTC 2022
#56612: PHP 8.1.10 bug Core WP Deprecated errors
----------------------------+-----------------------------
Reporter: egamestudio | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 6.0.2
Severity: critical | Keywords:
Focuses: |
----------------------------+-----------------------------
Hi,
I have a website with latest version 6.0.2 and PHP 8.1.10 and i receive
this error in backend/frontend :
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 /public_html/wp-includes/Requests/Cookie/Jar.php>
on line 63
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 /public_html/wp-includes/Requests/Cookie/Jar.php on
line 111
And many more
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56612>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list