Why on the checkout are we getting error logs related to the plugin?

Top WooCommerce & WordPress Plugins Forums Cost of Goods for WooCommerce Why on the checkout are we getting error logs related to the plugin?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #90095
    Mike
    Guest

    Hello Sir,

    Customers reported they always got stuck on checkout page: https://ibb.co/Dz5Q35Q

    I got error logs related to your plugin (cost-of-goods-for-woocommerce-pro):

    2022-08-15T01:16:08+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2840, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2840, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2840, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:18:36+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2841, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2841, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2841, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:19:51+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2842, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2842, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2842, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:20:19+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2843, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2843, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2843, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:21:38+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2844, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2844, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2844, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:24:51+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2845, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2845, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2845, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:25:55+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2846, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2846, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2846, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T01:27:26+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2847, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2847, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2847, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T11:28:10+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2850, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2850, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2850, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    2022-08-15T11:29:47+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:679
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php(721): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(2851, false)
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->save_cost_input_shop_order_save_post(2851, Object(WP_Post), false)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-includes/post.php(4662): do_action(‘save_post_shop_…’, 2851, Object(WP_Post), false)
    #5 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(81): wp_insert_post(Array, true)
    #6 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(110): Abstract_WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #7 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create(Object(WC_Order))
    #8 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(189): WC_Data_Store->create(Object(WC_Order))
    #9 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Abstract_Order->save()
    #10 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(391): WC_Order->save()
    #11 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)
    #12 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(461): WC_Checkout->process_checkout()
    #13 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::checkout(”)
    #14 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #15 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #16 /home/SorryHided/SorryHided.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_checkou…’)
    #17 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
    #18 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
    #19 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #20 /home/SorryHided/SorryHided.com/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #21 /home/SorryHided/SorryHided.com/wp-blog-header.php(19): require_once(‘/home/chopstick…’)
    #22 /home/SorryHided/SorryHided.com/index.php(17): require(‘/home/chopstick…’)
    #23 {main}
    thrown in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 679

    Please help to fix it. Thanks in advance!

    #90096
    Moshtafizur
    Moderator
    Plugin Support

    Hello Mike,

    I hope you are well today. I am really sorry to know you are having difficulties.

    Please ensure that you are using the latest versions of the WooCommerce(6.8.0) and Cost of Goods (2.6.3) plugins.

    However, if the problem persists, please let us know.

    Kind regards,
    Moshtafizur

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.