Hi guys,
Just upgraded from WordPress 4.7.2 to 4.7.3 and Uplift theme from 1.3.20 to 1.3.30 (no other upgrades at the time).
When I activate the debug mode on my dev site, I see a PHP Notice that was not there before the updgrades.
PHP Notice: Trying to get property of non-object in /home/viosimo/…/wp-content/themes/uplift/swift-framework/core/sf-header.php on line 1235
It only appears when a logged in user goes on the woocommerce part of the site.
Refers to these lines of code:
$product_obj_id = method_exists( $product_obj, 'get_id' ) ?
$product_obj->get_id() : $product_obj->id;
I’ve got Woocommerce 2.6.14
Any thoughts on the matter on how to respond to this notice ?