Unable to add product on manual order
-
Since I migrated my website to a new hosting I keep getting this problem, I’m unable to add a new product manually to a manual order.
Inspecting the page, It shows an error 500 on admin-ajax.php
This is the debug log:
`Stack trace:
#0 /home/aekaki/www/wp-content/plugins/woocommerce-dropshipping/inc/class-wc-dropshipping-orders.php(53): round(”, 2)
#1 /home/aekaki/www/wp-includes/class-wp-hook.php(289): WC_Dropshipping_Orders->round_price_product(”)
#2 /home/aekaki/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(”, Array)
#3 /home/aekaki/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(797): apply_filters(‘woocommerce_pro…’, ”, Object(WC_Product_Simple))
#4 /home/aekaki/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(267): WC_Data->get_prop(‘price’, ‘view’)
#5 /home/aekaki/www/wp-content/plugins/woocommerce/includes/wc-product-functions.php(1047): WC_Product->get_price()
#6 /home/aekaki/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1362): wc_get_price_excluding_tax(Object(WC_Product_Simple), Array)
#7 /home/aekaki/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(932): WC_Abstract_Order->add_product(Object(WC_Product_Simple), 1)
#8 /home/aekaki/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(876): WC_AJAX::maybe_add_order_item(13772, ”, Array)
#9 /home/aekaki/www/wp-includes/class-wp-hook.php(287): WC_AJAX::add_order_item(”)
#10 /home/aekaki/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#11 /home/aekaki/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#12 /home/aekaki/www/wp-admin/admin-ajax.php(184): do_action(‘wp_ajax_woocomm…’)
#13 {main}
thrown in /home/aekaki/www/wp-content/plugins/woocommerce-dropshipping/inc/class-wc-dropshipping-orders.php on line 53
[17-Jan-2021 20:00:24 UTC] PHP Warning: Constant WP_MEMORY_LIMIT already defined in /home/aekaki/www/wp-config.php on line 82
- The topic ‘Unable to add product on manual order’ is closed to new replies.