Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#60905 new defect (bug)

PHP Deprecated messages in class-automatic-upgrader-skin.php

Reported by: lewart3's profile lewart3 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.4.3
Component: Upgrade/Install Keywords: reporter-feedback
Focuses: Cc:

Description

The following pair of messages were logged seven times as
WordPress automatically updated from 6.4.3 to 6.5.

PHP Deprecated:  str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /.../wp-admin/includes/class-automatic-upgrader-skin.php on line 87
PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /.../wp-admin/includes/class-automatic-upgrader-skin.php on line 93

wp-config.php includes:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', '/var/log/wordpress/debug.log' );
define( 'WP_AUTO_UPDATE_CORE', true );

PHP version is 8.2.7

wp-admin/includes/class-automatic-upgrader-skin.php
is unchanged from WordPress 6.4.3 to 6.5.

Thank you!
Dan

Change History (2)

#1 @swissspidy
8 months ago

  • Focuses php-compatibility removed

#2 @afragen
8 months ago

  • Keywords reporter-feedback added

If you have a full stacktrace please paste it here. Otherwise it’s nearly impossible to determine where the error may have originated.

Note: See TracTickets for help on using tickets.