Debug Log Warnings
-
Hi,
Thanks for making such a useful plugin. We love wpDataTables.
This plugin seems to be initialized differently than other plugins, and that results in some various benign warnings in our debug log. This assumption of difference in initialization comes from this event: when I click on the details of an upgrade for another plugin, I’m able to see a changelog, description, and link to wordpress.org plugin page. For this plugin, it’s just a link to your website and the version number.
This seems to cause some warnings, like when there’s an upgrade available for wpDataTables, our debug log, throughout the time, will randomly produce:
[24-Oct-2025 01:31:35 UTC] PHP Warning: Undefined property: stdClass::$plugin in /website/files/wp-admin/includes/class-wp-automatic-updater.php on line 228
This error never occurs unless an upgrade for wpDataTables is available.
Or, this warning occurs less, but still happens if and only if wpDataTables has an update available:
PHP Warning: Undefined property: stdClass::$plugin in /website/files/wp-includes/class-wp-list-util.php on line 168
When I upgraded wpDataTables to the newest version:
[24-Oct-2025 12:05:58 UTC] PHP Warning: Undefined property: stdClass::$sections in /website/files/wp-admin/includes/plugin-install.php on line 585
[24-Oct-2025 12:05:58 UTC] PHP Warning: Undefined property: stdClass::$sections in /website/files/wp-admin/includes/plugin-install.php on line 600
[24-Oct-2025 12:05:58 UTC] PHP Warning: Undefined property: stdClass::$sections in /website/files/wp-admin/includes/plugin-install.php on line 630
[24-Oct-2025 12:05:58 UTC] PHP Warning: Undefined property: stdClass::$sections in /website/files/wp-admin/includes/plugin-install.php on line 861
It seems like everything is working; I received the successful update message and everything loads fine, it’s just interesting that this is the only plugin that creates these types of errors.
It also seems like it may be an easy fix, which is why I wanted to report this in the threads.
Thank you,
You must be logged in to reply to this topic.