Open fenixn opened 6 months ago
So setting the area code in the configure of vendor/riskified/magento2new/Model/Command/UploadHistoricalOrders.php allowed me to install the extension but it caused issues with other extensions.
Further testing shows that the file causing this error is actually: vendor/riskified/magento2new/Model/Command/ReleaseOnHoldOrders.php
Tried disabling all extensions with Console Command to track it down. It is always the Riskified extension that causes the error.
I then tried disabling each command in the di.xml file vendor/riskified/magento2new/etc/di.xml
When Riskified\Decider\Model\Command\ReleaseOnHoldOrders is commented out, everything works as it should.
Magento ver. 2.4.3-p1
Observed behavior when installing extension:
Testing shows that this file causes the error: vendor/riskified/magento2new/Model/Command/UploadHistoricalOrders.php
Setting the area code in this method prevents the area, but later causes a "Area code is already set" error.
I had to set up a patch extension to resolve this error and get Riskified to work. The configure and execute method had to be modified so area code is set for the configure method when it is required, but also prevent setAreaCode from occurring twice.
I'm looking for this issue to be fixed so I can remove my patch extension.