• Cant update products after activating the plugin:

    [01-Feb-2023 08:20:31 UTC] PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, WP_Error given in /var/web/site/public_html/wp-includes/taxonomy.php:1920

    PHP Stacktrace:

    /var/web/site/public_html/wp-includes/taxonomy.php(1920): array_map(‘intval’, Object(WP_Error))/var/web/site/public_html/wp-content/plugins/yith-woocommerce-product-add-ons/v1/includes/classes/class.yith-wccl.php(399): wp_delete_object_term_relationships(17411, Array)/var/web/site/public_html/wp-includes/class-wp-hook.php(310): YITH_WCCL->update_variations_terms(Object(WC_Product_Variable))/var/web/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)/var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)/var/web/site/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(682): do_action(‘woocommerce_pro…’, Object(WC_Product_Variable), Array)/var/web/site/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(266): WC_Product_Data_Store_CPT->handle_updated_props(Object(WC_Product_Variable))/var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196): WC_Product_Data_Store_CPT->update(Object(WC_Product_Variable))/var/web/site/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1420): WC_Data_Store->update(Object(WC_Product_Variable))/var/web/site/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(429): WC_Product->save()/var/web/site/public_html/wp-includes/class-wp-hook.php(308): WC_Meta_Box_Product_Data::save(17408, Object(WP_Post))/var/web/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)/var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)/var/web/site/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(268): do_action(‘woocommerce_pro…’, 17408, Object(WP_Post))/var/web/site/public_html/wp-includes/class-wp-hook.php(310): WC_Admin_Meta_Boxes->save_meta_boxes(17408, Object(WP_Post))/var/web/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)/var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)/var/web/site/public_html/wp-includes/post.php(4717): do_action(‘save_post’, 17408, Object(WP_Post), true)/var/web/site/public_html/wp-includes/post.php(4819): wp_insert_post(Array, false, true)/var/web/site/public_html/wp-admin/includes/post.php(426): wp_update_post(Array)/var/web/site/public_html/wp-admin/post.php(227): edit_post(){main} thrown in /var/web/site/public_html/wp-includes/taxonomy.php on line 1920

Viewing 1 replies (of 1 total)
  • Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    I see you are using version 1 of the plugin, and we currently don’t provide support for that version, since it’s already deprecated.
    Please, update the plugin to version 2.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Cant update/publish products’ is closed to new replies.