Make WordPress Core

Opened 8 months ago

Last modified 7 months ago

#59413 new defect (bug)

PHP Warning: Undefined property: stdClass::$plugin

Reported by: zerofoolcoder's profile zerofoolcoder Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.3.1
Component: Plugins Keywords:
Focuses: Cc:

Description

Just checking php www-error.log and saw that there was this error:

PHP Warning: Undefined property: stdClass::$plugin in /var/www/html/my-website/wp-admin/includes/class-wp-automatic-updater.php on line 228

Site is working as usual but the log is full of these warnings.

PHP 8.0.27
Apache 2.4.37
WordPress 6.3.1

Change History (1)

#1 @sabernhardt
7 months ago

  • Component changed from General to Plugins

Line 228 has this:

$update = in_array( $item->{$type}, $auto_updates, true );

The issue might have been caused by a plugin, but #44582 is a similar ticket on Trac.

Note: See TracTickets for help on using tickets.