• Resolved Apfelbiss

    (@apfelbiss)


    Hello,

    when changing a product from simple to variable in the backend, it says:

    Fatal error: Uncaught Error: Call to undefined method WC_Product_Simple::get_visible_children() in /wp-content/plugins/giftable-for-woocommerce/admin/ScreenEditProduct.php:196 Stack trace: #0 /wp-content/plugins/giftable-for-woocommerce/admin/ScreenEditProduct.php(160): DGFW_ScreenEditProduct::save_giftable_variations(32673) #1 /wp-includes/class-wp-hook.php(288): DGFW_ScreenEditProduct->save_gift_options(32673, Object(WP_Post)) #2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /wp-includes/post.php(3662): do_action(‘save_post_produ…’, 32673, Object(WP_Post), true) #5 /wp-includes/post.php(3746): wp_insert_post(Array, false) #6 /wp-admin in /wp-content/plugins/giftable-for-woocommerce/admin/ScreenEditProduct.php on line 196

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error (changing product to variable)’ is closed to new replies.