[wp-trac] [WordPress Trac] #55598: Bunch of errors wordpress-6.0-beta2.zip with PHP 8.1.5
WordPress Trac
noreply at wordpress.org
Thu Apr 21 11:06:11 UTC 2022
#55598: Bunch of errors wordpress-6.0-beta2.zip with PHP 8.1.5
------------------------------+---------------------------------------
Reporter: campation | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: major | Keywords: needs-patch needs-testing
Focuses: |
------------------------------+---------------------------------------
on my development site (Plesk Obsidian, Centos 7.9) a fresh installed
latest WP 6.0 beta2 does create a lot of errors when switching from PHP
8.0.18 (error free) to PHP 8.1.5.
See attached debug.log created during first login as admin.
Chris
PS: no answer required
[21-Apr-2022 10:59:44 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 63
[21-Apr-2022 10:59:44 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 73
[21-Apr-2022 10:59:44 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 89
[21-Apr-2022 10:59:44 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 102
[21-Apr-2022 10:59:44 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 111
[21-Apr-2022 10:59:44 UTC] PHP Deprecated: http_build_query(): Passing
null to parameter #2 ($numeric_prefix) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Transport/cURL.php on line 345
[21-Apr-2022 10:59:45 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
[21-Apr-2022 10:59:45 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
[21-Apr-2022 10:59:45 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
[21-Apr-2022 10:59:45 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
[21-Apr-2022 10:59:45 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
[21-Apr-2022 10:59:45 UTC] PHP Warning: Cannot modify header information
- headers already sent by (output started at
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php:15) in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-admin/admin-
header.php on line 9
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: setcookie(): Passing null to
parameter #5 ($domain) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/option.php on line 1111
[21-Apr-2022 10:59:45 UTC] PHP Warning: Cannot modify header information
- headers already sent by (output started at
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php:15) in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/option.php on line 1111
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: setcookie(): Passing null to
parameter #5 ($domain) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/option.php on line 1112
[21-Apr-2022 10:59:45 UTC] PHP Warning: Cannot modify header information
- headers already sent by (output started at
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php:15) in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/option.php on line 1112
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:45 UTC] PHP Deprecated: rtrim(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/formatting.php on line 2772
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 63
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 73
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 89
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 102
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 111
[21-Apr-2022 10:59:46 UTC] PHP Deprecated: http_build_query(): Passing
null to parameter #2 ($numeric_prefix) of type string is deprecated in
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Transport/cURL.php on line 530
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 63
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 73
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 89
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 102
[21-Apr-2022 10:59:46 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Cookie/Jar.php on line 111
[21-Apr-2022 10:59:47 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
[21-Apr-2022 10:59:47 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
[21-Apr-2022 10:59:47 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
[21-Apr-2022 10:59:47 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
[21-Apr-2022 10:59:47 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
[21-Apr-2022 10:59:47 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
[21-Apr-2022 10:59:47 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
[21-Apr-2022 10:59:47 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
[21-Apr-2022 10:59:47 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
/var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
[21-Apr-2022 10:59:47 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 /var/www/vhosts/campation.com/subdomains/beta/httpdocs/wp-
includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55598>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list