I'm encountering a persistent PHP Warning related to Toolset Blocks that I'm hoping you can help me diagnose. The warning message is:
[02-Aug-2025 16:46:39 UTC] PHP Warning: Attempt to read property "ID" on null in /home/my-account/mysite.com/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-theme-settings/compatibility-loader/toolset-theme-integration-settings-helper.php on line 426
Site Details (not: all plugins and theme recently updated -- error was happening before the updates):
WordPress Version: 6.8.2
PHP Version: 8.4 (just updated today from 8.0)
Toolset Blocks Version: 1.6.20
Toolset Types Version: 3.6.1
Theme: Kadence Theme 1.2.28
Caching Plugin: LiteSpeed Cache 7.3.0.1
Hosting Environment: My site is on a shared hosting account with NameHero.
Issue Description:
This warning has been consistently appearing in my PHP error logs since at least June 1, 2025, and occurs multiple times a day at various, unscheduled times (e.g., :54, :31, :22, :46 past the hour, etc.). It is not specifically tied to my external system cron job, as the errors occur outside those scheduled times as well.
The warning indicates that the toolset-theme-integration-settings-helper.php file is attempting to read the "ID" property from a variable that is null (empty), rather than a valid object, in line 426. This suggests the code is expecting a WordPress post or object in a context where it's not available.
To help investigate, could you please advise on:
- What specific scenarios or contexts might lead this toolset-theme-settings helper to be invoked with a null object on line 426?
- Are there any known conflicts or common configurations (e.g., specific custom post types, custom fields, Toolset Views/Blocks on particular pages, specific AJAX requests, or interactions with other plugins) that might trigger this in a PHP 8.0 (or 8.4) environment?
Is there a way to disable this specific helper function if it's not critical for my setup?
Thank you for your time and assistance in resolving this.