PHP 8.1.9 site lot of warnings and notices WordPress v 6.0.1
-
Hi,
After I activated a custom WordPress plugin (a developer exclusively developed for my sites), I can see the following warnings and notices in the WordPress Admin area. If I deactivated that custom plugin all these warnings, notices are disappeared.
I cannot see any errors, warning, or notice related to that custom plugin; all these warnings, and notices are generated by WordPress core PHP files.
Are these warnings and notices generated by the custom WordPress plugin, or is this normal? How do I fix these issues? The developer said that it is not generated by that custom WordPress plugin.
These warnings and notices are covered the entire WP-Admin area, so it is hard to navigate there.
PHP Version Details.
PHP 8.1.9 (cli)
Zend Engine v4.1.9
Zend OPcache v8.1.9Nginx Verison: nginx 1.22.0
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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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 /var/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/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/www/mydomain.com/htdocs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91 Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/option.php on line 1112 Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/option.php on line 1113 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mydomain.com/htdocs/wp-includes/option.php:1113) in /var/www/mydomain.com/htdocs/wp-includes/option.php on line 1113 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/www/mydomain.com/htdocs/wp-includes/Requests/Cookie/Jar.php on line 63 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mydomain.com/htdocs/wp-includes/formatting.php on line 2772
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- The topic ‘PHP 8.1.9 site lot of warnings and notices WordPress v 6.0.1’ is closed to new replies.