WordPress and woocommerce fatal crash

  • Unknown's avatar

    WordPress has recently sent me an error under woocommerce shown bellow

    An error of type E_ERROR was caused in line 165 of the file
    /var/www/clients/client0/web4/web/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php. Error message: Uncaught Error: Call to a member function get_payment_method() on boolean in /var/www/clients/client0/web4/web/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:165
    Stack trace:
    #0 /var/www/clients/client0/web4/web/wp-admin/includes/template.php(1395): WC_Meta_Box_Order_Data::output(Object(stdClass), Array)
    #1 /var/www/clients/client0/web4/web/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(stdClass))
    #2 /var/www/clients/client0/web4/web/wp-admin/post-new.php(75): require(‘/var/www/client…’)
    #3 {main}

    If anyone can help to point me in the right direction it would be greatly appreciated

  • Hi there,

    Please contact WooCommerce support directly for help with their plugin. The forum you’re posting in now is for the hosting provider, WordPress.com, and we can only help with sites that are hosted on our servers.

    If you’re using the free version of WooCommerce you can post in their community forum, here:

    https://wordpress.org/support/plugin/woocommerce/

    Or if you’re using any premium or payment gateway add-on downloaded from WooCommerce.com you can reach live chat and email support here:

    https://woocommerce.com/my-account/create-a-ticket/

  • Unknown's avatar

    Thank you that is my mistake

  • The topic ‘WordPress and woocommerce fatal crash’ is closed to new replies.