Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to pause an order causes a fatal error. #71

Closed
OskarOstlund opened this issue Nov 12, 2020 · 0 comments
Closed

Attempting to pause an order causes a fatal error. #71

OskarOstlund opened this issue Nov 12, 2020 · 0 comments

Comments

@OskarOstlund
Copy link

If you attempt to pause an order are you currently met with a fatal error, the order is however successfully updated and going to another page and then back to the order menu will leave you with the order successfully paused.
Error message:
Fatal error: Uncaught Error: Call to undefined method WC_Order_Item_Fee::get_product() in C:\xampp\htdocs\WoocommerceKrokodil2ElectricBogaloo\wp-content\plugins\billmate-checkout-for-woocommerce\classes\requests\helpers\order\class-bco-order-articles-helper.php:64 Stack trace: #0 C:\xampp\htdocs\WoocommerceKrokodil2ElectricBogaloo\wp-content\plugins\billmate-checkout-for-woocommerce\classes\requests\helpers\order\class-bco-order-articles-helper.php(46): BCO_Order_Articles_Helper::get_article_number(Object(WC_Order_Item_Fee)) #1 C:\xampp\htdocs\WoocommerceKrokodil2ElectricBogaloo\wp-content\plugins\billmate-checkout-for-woocommerce\classes\requests\helpers\order\class-bco-order-articles-helper.php(30): BCO_Order_Articles_Helper::get_order_lines(Object(WC_Order_Item_Fee)) #2 C:\xampp\htdocs\WoocommerceKrokodil2ElectricBogaloo\wp-content\plugins\billmate-order-mangement-for-woocommerce\classes\requests\order-management\post\class-bom-request-update-payment.php(109): BCO_Order_Articles_Helper::get_articles(Object(Automattic\W in C:\xampp\htdocs\WoocommerceKrokodil2ElectricBogaloo\wp-content\plugins\billmate-checkout-for-woocommerce\classes\requests\helpers\order\class-bco-order-articles-helper.php on line 64

NiklasHogefjord added a commit that referenced this issue Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant