You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:94 Call to a member function get_id() on bool.
All was working before the update (to the 1.4.7 version), so I am not sure if it is a product issue, but please let me know how we can fix it (the plugin has been deactivated for now to prevent the error from breaking the site).
Additional details:
My wild guess is that it is a product-related issue. The check for if is_product() passes, but then wc_get_product() returns bool value. And calling get_id() on bool obviously fails.
The text was updated successfully, but these errors were encountered:
Describe the bug:
The plugin is causing a critical WordPress error.
wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:94
Call to a member function get_id() on bool.All was working before the update (to the 1.4.7 version), so I am not sure if it is a product issue, but please let me know how we can fix it (the plugin has been deactivated for now to prevent the error from breaking the site).
Additional details:
My wild guess is that it is a product-related issue. The check for
if is_product()
passes, but thenwc_get_product()
returnsbool
value. And callingget_id()
onbool
obviously fails.The text was updated successfully, but these errors were encountered: