• Hi,

    WordPress 5.9 does not seem to be fully compatible with PHP 8.1 yet.

    In Dashboard :
    Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type string is deprecated in /home/zz/XAMPP/htdocs/wp-includes/option.php on line 1109

    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/jack/XAMPP/htdocs/wp-includes/Requests/Cookie/Jar.php on line 111

    Deprecated: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in /home/zz/XAMPP/htdocs/wp-includes/Requests/Transport/cURL.php on line 345

    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/zz/XAMPP/htdocs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91

    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/zz/XAMPP/htdocs/wp-includes/formatting.php on line 2761

    And more…

    Regards

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8.1 – Deprecated: setcookie()’ is closed to new replies.