Warning: Attempt to read property “ID” on int
-
Hello! We are using your plugin for a couple of websites and we have been experiencing this error for a while:
Warning: Attempt to read property "ID" on int
The error comes from this part of the code: https://ibb.co/j67JBb0
This error only seems to appear when we update the products via WP-CRON (we sync the products from an ERP).
We use this plugin on more sites, but it only appears on this one: specifically, the only website were we add/update products via CRON.
It seems that the function
Breeze_PurgeCache::breeze_cache_flush
is expecting aWP_Post
object, but its getting an int (I imagine it is the ID of the post).Normally, this wouldn’t be an issue for us, but since this error happens very, very often, we wanted to report this to you in hope that you can give us assistance or fix it ??
- Plugin version: ?2.1.3
- WordPress version: 6.4.1
- WooCommerce version: 7.3.0
- PHP Version: 8.1
- You must be logged in to reply to this topic.