Magento 2.3.3 Error – Fails on magento setup:di:compile with InvoiceFlexFieldProcessorInterface

dierrormagento2.3.3setup-di-compilevendor

I have installed the new Magento 2.3.3 version.

After I have run the command:

php bin/magento setup:di:compile

I have Faced the following error:

PHP Fatal error: Interface 'Vertex\Tax\Model\Flexfield\Processor\InvoiceFlexFieldProcessorInterface' not found in /var/www/html/magento2/vendor/vertex/module-tax/Model/FlexField/Processor/OrderCurrencyGetterProcessor.php on line 24

Please refer the following screenshot:
enter image description here

How to solve this.

Thanks in Advance.

Best Answer

Go to Below File

/vendor/vertex/module-tax/Model/FlexField/Processor/OrderCurrencyGetterProcessor.php

At the end of the "use" clauses in

add the following two lines:

use Vertex\Tax\Model\FlexField\Processor\InvoiceFlexFieldProcessorInterface;
use Vertex\Tax\Model\FlexField\Processor\TaxCalculationFlexFieldProcessorInterface;

and run again below command

php bin/magento setup:di:compile
Related Topic