Error connecting Dokan store to TaxJar
Closed this issue · 0 comments
bporcelli commented
When MT_Integration_Dokan::is_vendor() is called with an invalid (or no) user ID, the following notices and warnings are issued:
Notice: Trying to get property of non-object in ABSPATH/wp-content/plugins/marketplace-taxes/includes/integrations/dokan/class-mt-integration-dokan.php on line 149
Warning: array_intersect(): Argument # 2 is not an array in ABSPATH/wp-content/plugins/marketplace-taxes/includes/integrations/dokan/class-mt-integration-dokan.php on line 149
As a consequence, TaxJar is unable to import the orders from the store, and the following error appears in the TaxJar dashboard: