-
AuthorPosts
-
April 25, 2022 at 8:18 pm #124231
SoureFourParticipantWhen we try and update any product that uses variations…we get the following error, which only seems to happen when your product variations swatches plugin is enabled.
Fatal error: Uncaught Error: Call to a member function get_variation() on bool
in /var/www/agile.s4cms.co.uk/htdocs/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php on line 294Call stack:
WC_Meta_Box_Product_Data::prepare_set_attributes()
wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:405
WC_Meta_Box_Product_Data::save()
wp-includes/class-wp-hook.php:307
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:331
WP_Hook::do_action()
wp-includes/plugin.php:474
do_action()
wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:224
WC_Admin_Meta_Boxes::save_meta_boxes()
wp-includes/class-wp-hook.php:309
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:331
WP_Hook::do_action()
wp-includes/plugin.php:474
do_action()
wp-includes/post.php:4687
wp_insert_post()
wp-includes/post.php:4789
wp_update_post()
wp-admin/includes/post.php:426
edit_post()
wp-admin/post.php:227 -
AuthorPosts
You must be logged in to see replies to this topic. Click here to login or register