Fatal error when accessing the WooCommerce API orders endpoint
Closed this issue · 0 comments
bporcelli commented
With WooCommerce 3.7.0 or later installed, this fatal error occurs when accessing the /wc-api/v2/orders endpoint to import the latest orders into TaxJar:
Fatal error: require_once(): Failed opening required '/srv/www/lib/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-orders.php' (include_path='.:/usr/share/php') in /srv/www/wcvendors/public_html/wp-content/plugins/marketplace-taxes/includes/class-mt-api-orders.php on line 7
This is due to the legacy API classes being relocated in WC 3.7.