Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #57738


Ignore:
Timestamp:
02/16/2023 09:35:17 PM (2 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57738

    • Property Status changed from new to closed
    • Property Component changed from General to External Libraries
    • Property Version changed from 6.1.1 to
    • Property Milestone changed from Awaiting Review to
    • Property Keywords php81 added
    • Property Resolution changed from to duplicate
  • Ticket #57738 – Description

    initial v3  
    1 Hi, Getting PHP 8.1.9 depreciated notices in the debug.log which you might wish to correct for the next version of WordPress.  Here are the to files to be corrected: 
    2    /wp-includes/Requests/Cookie/Jar.php
    3    /wp-includes/Requests/Utility/CaseInsensitiveDictionary.php
     1Hi, Getting PHP 8.1.9 deprecated notices in the debug.log which you might wish to correct for the next version of WordPress.  Here are the to files to be corrected: 
     2- `/wp-includes/Requests/Cookie/Jar.php`
     3- `/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php`
     4
    45Thanks.
    56
    6 [16-Feb-2023 18:59:56 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Cookie/Jar.php on line 63
    7 [16-Feb-2023 18:59:56 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Cookie/Jar.php on line 73
    8 [16-Feb-2023 18:59:56 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Cookie/Jar.php on line 89
    9 [16-Feb-2023 18:59:56 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Cookie/Jar.php on line 102
    10 [16-Feb-2023 18:59:56 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Cookie/Jar.php on line 111
    11 [16-Feb-2023 18:59:57 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
    12 [16-Feb-2023 18:59:57 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
    13 [16-Feb-2023 18:59:57 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
    14 [16-Feb-2023 18:59:57 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
    15 [16-Feb-2023 18:59:57 UTC] PHP 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 /home/lispop2/updona.org/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
     7{{{
     8[16-Feb-2023 18:59:56 UTC] PHP 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
     9[16-Feb-2023 18:59:56 UTC] PHP 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
     10[16-Feb-2023 18:59:56 UTC] PHP 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
     11[16-Feb-2023 18:59:56 UTC] PHP 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
     12[16-Feb-2023 18:59:56 UTC] PHP 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
     13[16-Feb-2023 18:59:57 UTC] PHP 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
     14[16-Feb-2023 18:59:57 UTC] PHP 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 /.../wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
     15[16-Feb-2023 18:59:57 UTC] PHP 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 /.../wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
     16[16-Feb-2023 18:59:57 UTC] PHP 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 /.../wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
     17[16-Feb-2023 18:59:57 UTC] PHP 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 /.../wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
     18}}}