Conversation
supportFatal error : Uncaught Error: Call to a member function get_id() on bool in /mnt/customers/customers-1fnhwg/eb58602f-c629-42ff-affd-c71086ccdc60/wp-content/wp-content/plugins/track-orders-for-woocommerce/template/wps-track-order-myaccount-page-template1.php on line 319 I get that error when I try to open the tracking page. This is for a test order.
Hello , Thank you for using our plugin, Please make sure you are updated to the latest version of our plugin and if possible then please share a short video of the whole scenario so that we can replicate the same in order to debug the issue Thank you
I was on the latest version, it still won’t work.
Hello, It seems that the $product variable is returning false or get the object in that and to tackle this , please add below line in replace to line no. 319: $productdata = ($product = wc_get_product($product->get_id())) ? $product : null; We will also fix this in our next update Thank you
Hello , Thank you for using our plugin, Please make sure you are updated to the latest version of our plugin and if possible then please share a short video of the whole scenario so that we can replicate the same in order to debug the issue Thank you
I was on the latest version, it still won’t work.
Hello, It seems that the $product variable is returning false or get the object in that and to tackle this , please add below line in replace to line no. 319: $productdata = ($product = wc_get_product($product->get_id())) ? $product : null; We will also fix this in our next update Thank you