Home › Forums › Cost of Goods for WooCommerce › Why can’t I edit my variable products anymore?
- Support forum for the Cost of Goods for WooCommerce.
- This topic has 4 replies, 2 voices, and was last updated 3 years, 4 months ago by
Tom Anbinder.
- AuthorPosts
- January 21, 2020 at 1:27 pm #89256
lior
ParticipantHello,
When we are trying to add variation to existing variable product (with cost of goods already entered) –
the page stuck and the product is not editable anymore and needs to be deleted
here is a error message I get from wordpress:אירעה שגיאה מסוג E_ERROR בשורה 176 בקובץ /home/thethirdeyeco/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-alg-wc-cost-of-goods-core.php. הודעת שגיאה: Uncaught Error: Call to a member function get_parent_id() on bool in /home/thethirdeyeco/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-alg-wc-cost-of-goods-core.php:176
Stack trace:
#0 /home/thethirdeyeco/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-alg-wc-cost-of-goods-core.php(206): Alg_WC_Cost_of_Goods_Core->get_product_cost(10268)
#1 /home/thethirdeyeco/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-alg-wc-cost-of-goods-core.php(237): Alg_WC_Cost_of_Goods_Core->get_product_profit(10268)
#2 /home/thethirdeyeco/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-alg-wc-cost-of-goods-core.php(219): Alg_WC_Cost_of_Goods_Core->get_variable_product_html(2780, ‘profit’)
#3 /home/thethirdeyeco/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-alg-wc-cost-of-goods-core.php(270): Alg_WC_Cost_of_Goods_Core->get_product_profit_html(2780)
#4 /home/thethirdeyeco/public_html/wp-inclPlease help
January 21, 2020 at 2:12 pm #89257Hi Lior,
Please give me a minute to check this – I will get back to you shortly.
January 21, 2020 at 5:24 pm #89258Hi again,
I was unable to reproduce the issue on my server, however, I’ve just released new plugin version 1.4.1, where I’ve added additional safe-checks to the code. Could you please update and let me know if this fixes the issue.
January 26, 2020 at 2:48 pm #89259lior
ParticipantHi Tom,
Sorry for my late reply, Yes the update solve the issue, thanks!!!
January 27, 2020 at 11:51 am #89260Hi Lior,
Great, happy to hear it’s solved. Please let me know if you need anything else. And if you like the plugin, please consider leaving me a rating.
- AuthorPosts
- You must be logged in to reply to this topic.