[wp-trac] [WordPress Trac] #64775: Warning from pluck function on some random pages
WordPress Trac
noreply at wordpress.org
Wed Mar 4 13:13:51 UTC 2026
#64775: Warning from pluck function on some random pages
-------------------------------------------------+-------------------------
Reporter: gautammkgarg | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 4.7
Severity: normal | Resolution: duplicate
Keywords: has-patch needs-unit-tests | Focuses:
reporter-feedback |
-------------------------------------------------+-------------------------
Comment (by siliconforks):
I was able to reproduce this with the following steps:
1. Install the Angell EYE Updater plugin by cloning the repository at
https://github.com/angelleye/angelleye-updater
2. Activate the plugin
3. You might need `WP_DEBUG` set to `true` in your `wp-config.php` file
4. Go to Dashboard → Updates. (This should trigger a check for updates,
which is necessary to reproduce the issue.)
5. Go to Plugins → Add Plugin.
If it doesn't work it may be because WordPress will not check for updates
more often than once every minute. Simply wait for at least 1 minute and
then repeat steps 4 and 5 again.
It looks like this issue is specific to the Angell EYE Updater plugin. It
adds a `pre_set_site_transient_update_plugins` filter to modify the
`update_plugins` transient, and when it does this it creates an object
which has only a `slug` property (and therefore it has no `plugin`
property, so you end up getting the warning `Undefined property:
stdClass::$plugin`):
https://github.com/angelleye/angelleye-updater/blob/v2.0.22/includes
/class-angelleye-updater-update-checker.php#L135-L137
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64775#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list