Uncaught Error: Call to a member function get_payment_method()
-
Hey there forum,
All a sudden my wordpress edit order stopped working.
Wordpress sent me an automatic email… (Portuguese)
Still the most important of the email is that Uncaught Error: Call to a member function get_payment_method() on bool in /home/gaiatost/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:160
How can I debug this problem? I did not install a new pluggin and all plugins where working… the theme is paied and updated… also the woocommerce plugin…
Thank you all for your help|time
Detalhes do erro
================
Um erro do tipo E_ERROR foi causado na linha 160 do ficheiro /home/gaiatost/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php. Mensagem de erro: Uncaught Error: Call to a member function get_payment_method() on bool in /home/gaiatost/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:160
Stack trace:
#0 /home/gaiatost/public_html/wp-admin/includes/template.php(1310): WC_Meta_Box_Order_Data::output(‘6902’, Array)
#1 /home/gaiatost/public_html/wp-admin/edit-form-advanced.php(642): do_meta_boxes(Object(WP_Screen), ‘normal’, ‘6902’)
#2 /home/gaiatost/public_html/wp-admin/post.php(198): include(‘/home/gaiatost/…’)
#3 {main}
thrownThe page I need help with: [log in to see the link]
- The topic ‘Uncaught Error: Call to a member function get_payment_method()’ is closed to new replies.