My WordPress Website is throwing PHP Deprecated Errors on wp-include files.
I am novice WordPress Developer working on my site.
I am being flooded by these errors and extremely high CPU consumption on my site. Activating a specific set of plugins results in Deprecated Error in my WordPress installation.
I am using PHP7.4, and have experienced the same on PHP 8.1 as well.
Since these errors origniate from wp-includes folder I suspect WordPress is trying to tell me something that I am not understanding.
Secondly, what the hell is this "Cookie Jar"?
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 63
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 73
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 89
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 102
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 111
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Please advice as to what could be possibly wrong with it.
My WordPress Website is throwing PHP Deprecated Errors on wp-include files.
I am novice WordPress Developer working on my site.
I am being flooded by these errors and extremely high CPU consumption on my site. Activating a specific set of plugins results in Deprecated Error in my WordPress installation.
I am using PHP7.4, and have experienced the same on PHP 8.1 as well.
Since these errors origniate from wp-includes folder I suspect WordPress is trying to tell me something that I am not understanding.
Secondly, what the hell is this "Cookie Jar"?
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 63
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 73
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 89
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 102
[16-Mar-2023 18:08:11 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 public_html/wp-includes/Requests/Cookie/Jar.php on line 111
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
[16-Mar-2023 18:08:12 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 public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Please advice as to what could be possibly wrong with it.