Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#59413 new defect (bug)

PHP Warning: Undefined property: stdClass::$plugin

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

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
3 years ago

  • Component General → 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.