Fatal error when opening orders
-
Hi,
When opening certain orders I receive a fatal error.
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 2256 van het bestand /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php. Foutmelding: Uncaught Error: Call to a member function get_items() on int in /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php:2256
Stack trace: 0 /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item.php(62): WC_Order->get_qty_refunded_for_item() 1 /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php(75): include(‘/home/x.cl…’) 2 /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(40): include(‘/home/x.cl…’) 3 /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-admin/includes/template.php(1456): WC_Meta_Box_Order_Items::output() 4 /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-admin/edit-form-advanced.php(722): do_meta_boxes() 5 /home/x.cloudwaysapps.com/xtkcqmyfpn/public_html/wp-admin/post.php(206): require(‘/home/209144.cl…’) 6 {main} thrownhttps://snipboard.io/WnPlHQ.jpg
I’ve tried opening with only WooCommerce and default theme enabled but this didn’t solve the issue.
How can this be fixed?
Cheers,
Jaap
The topic ‘Fatal error when opening orders’ is closed to new replies.