Skip to content

Error when manually submit 'Send Invoice to Xero' from woocommerce order. #2

@haikalhussein

Description

@haikalhussein

Below is the error log generated from the submit action:-

2019-04-06T09:41:34+00:00 CRITICAL Uncaught Exception: Can't do XERO API request because not all required settings are entered. in /home/rhinoa5/public_html/wp-content/plugins/woocommerce-xero-master/classes/requests/class-wc-xr-request.php:275
Stack trace:
#0 /home/rhinoa5/public_html/wp-content/plugins/woocommerce-xero-master/classes/class-wc-xr-invoice.php(250): WC_XR_Request->do_request()
#1 /home/rhinoa5/public_html/wp-includes/class-wp-hook.php(286): WC_XR_Invoice->set_org_default_due_date('2019-01-24', Object(WC_XR_Invoice))
#2 /home/rhinoa5/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters('2019-01-24', Array)
#3 /home/rhinoa5/public_html/wp-content/plugins/woocommerce-xero-master/classes/class-wc-xr-invoice.php(137): apply_filters('woocommerce_xer...', '2019-01-24', Object(WC_XR_Invoice))
#4 /home/rhinoa5/public_html/wp-content/plugins/woocommerce-xero-master/classes/class-wc-xr-invoice.php(299): WC_XR_Invoice->get_due_date()
#5 /home/rhinoa5/public_html/wp-content/plugins/woocommerce-xero-master/classes/requests/class-w in /home/rhinoa5/public_html/wp-content/plugins/woocommerce-xero-master/classes/requests/class-wc-xr-request.php on line 275

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions