Hi,
There is a problem with the add-on (has been for a long time actually). This error is displayed randomly, when item stock amount is changed.
—
Kun etsit apua ongelmaasi, sinulta saatetaan kysyä jotain seuraavista tiedoista:
WordPressin versio 6.2.2
Nykyinen teema: (versio 1.0.2)
Lisäosa: Cost of Goods for WooCommerce Pro (versio 2.3.4)
PHP versio 8.0.28
Virheen lisätiedot
===================
Tiedoston /data/wordpress/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cog-products.php rivillä 429 havaittiin virhe lajia E_ERROR. Virheviesti: Uncaught TypeError: Unsupported operand types: string / string in /data/wordpress/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cog-products.php:429
Stack trace:
#0 /data/wordpress/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cog-products.php(384): Alg_WC_Cost_of_Goods_Products->get_variable_product_html()
#1 /data/wordpress/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cog-products.php(322): Alg_WC_Cost_of_Goods_Products->get_product_profit_html()
#2 /data/wordpress/wp-includes/class-wp-hook.php(308): Alg_WC_Cost_of_Goods_Products->render_product_columns()
#3 /data/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /data/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /data/wordpress/wp-admin/includes/class-wp-posts-list-table.php(1369): do_action()
#6 /data/wordpress/wp-admin/includes/class-wp-list-table.php(1559): WP_Posts_List_Table->column_default()
#7 /data/wordpress/wp-admin/includes/class-wp-posts-list-table.php(1403): WP_List_Table->single_row_columns()
#8 /data/wordpress/wp-admin/includes/class-wp-posts-list-table.php(813): WP_Posts_List_Table->single_row()
#9 /data/wordpress/wp-admin/includes/class-wp-posts-list-table.php(789): WP_Posts_List_Table->_display_rows()
#10 /data/wordpress/wp-admin/includes/class-wp-list-table.php(1471): WP_Posts_List_Table->display_rows()
#11 /data/wordpress/wp-admin/includes/class-wp-list-table.php(1398): WP_List_Table->display_rows_or_placeholder()
#12 /data/wordpress/wp-admin/edit.php(487): WP_List_Table->display()
#13 {main}