• When invoices are exported automatically, or when opening the Batchverzending page, the plugin throws this exception:

    DomainException: lang: not an allowed value: 'es' in xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Data/AcumulusProperty.php:212
    Stack trace:
    #0 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Data/AcumulusObject.php(259): Siel\Acumulus\Data\AcumulusProperty->setValue('es', 0)
    #1 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Collectors/Collector.php(266): Siel\Acumulus\Data\AcumulusObject->set('lang', 'es', 0)
    #2 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Collectors/Collector.php(224): Siel\Acumulus\Collectors\Collector->collectMappedField(Object(Siel\Acumulus\Data\BasicSubmit), Object(Siel\Acumulus\Collectors\PropertySources), 'lang', '[environment::l...')
    #3 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Collectors/Collector.php(172): Siel\Acumulus\Collectors\Collector->collectMappedFields(Object(Siel\Acumulus\Data\BasicSubmit), Object(Siel\Acumulus\Collectors\PropertySources), Array)
    #4 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Collectors/BasicSubmitCollector.php(35): Siel\Acumulus\Collectors\Collector->collect(Object(Siel\Acumulus\Collectors\PropertySources), Array)
    #5 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Collectors/CollectorManager.php(183): Siel\Acumulus\Collectors\BasicSubmitCollector->collect(Object(Siel\Acumulus\Collectors\PropertySources), Array)
    #6 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/ApiClient/AcumulusRequest.php(241): Siel\Acumulus\Collectors\CollectorManager->collectBasicSubmit()
    #7 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/ApiClient/AcumulusRequest.php(228): Siel\Acumulus\ApiClient\AcumulusRequest->getBasicSubmit()
    #8 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/ApiClient/AcumulusRequest.php(132): Siel\Acumulus\ApiClient\AcumulusRequest->constructFullSubmit(Array, true)
    #9 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/ApiClient/Acumulus.php(938): Siel\Acumulus\ApiClient\AcumulusRequest->execute('https://api.sie...', Array, true)
    #10 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/ApiClient/Acumulus.php(349): Siel\Acumulus\ApiClient\Acumulus->callApiFunction('lookups/lookup_...', Array)
    #11 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Invoice/Completor.php(1497): Siel\Acumulus\ApiClient\Acumulus->getVatInfo('NL', '2024-12-13')
    #12 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Invoice/Completor.php(377): Siel\Acumulus\Invoice\Completor->getVatRatesByCountryAndInvoiceDate('NL')
    #13 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Invoice/Completor.php(194): Siel\Acumulus\Invoice\Completor->initPossibleVatRates()
    #14 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Completors/InvoiceCompletor.php(82): Siel\Acumulus\Invoice\Completor->complete(Object(Siel\Acumulus\Data\Invoice), Object(Siel\Acumulus\WooCommerce\Invoice\Source), Object(Siel\Acumulus\Invoice\InvoiceAddResult))
    #15 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Shop/InvoiceCreate.php(79): Siel\Acumulus\Completors\InvoiceCompletor->complete(Object(Siel\Acumulus\Data\Invoice), Object(Siel\Acumulus\Invoice\InvoiceAddResult))
    #16 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Shop/InvoiceManager.php(421): Siel\Acumulus\Shop\InvoiceCreate->create(Object(Siel\Acumulus\WooCommerce\Invoice\Source), Object(Siel\Acumulus\Invoice\InvoiceAddResult))
    #17 xxxx/public_html/wp-content/plugins/acumulus/vendor/siel/acumulus/src/Shop/InvoiceManager.php(328): Siel\Acumulus\Shop\InvoiceManager->createAndSend(Object(Siel\Acumulus\WooCommerce\Invoice\Source), Object(Siel\Acumulus\Invoice\InvoiceAddResult))
    #18 xxxx/public_html/wp-content/plugins/acumulus/acumulus.php(1075): Siel\Acumulus\Shop\InvoiceManager->sourceStatusChange(Object(Siel\Acumulus\WooCommerce\Invoice\Source))
    #19 xxxx/public_html/wp-content/plugins/acumulus/acumulus.php(1042): Acumulus->sourceStatusChange('Order', Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #20 xxxx/public_html/wp-includes/class-wp-hook.php(324): Acumulus->woocommerceOrderChanged(26428, 'processing', 'completed', Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #21 xxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #22 xxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #23 xxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(421): do_action('woocommerce_ord...', 26428, 'processing', 'completed', Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #24 xxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
    #25 xxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(365): WC_Order->save()
    #26 xxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(585): WC_Order->update_status('completed', '', true)
    #27 xxxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::mark_order_status('')
    #28 xxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #29 xxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #30 xxxx/public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_woocomm...')
    #31 {main}
  • You must be logged in to reply to this topic.