Closed Neusbeer closed 4 years ago
@Neusbeer thanks for the report. It looks like you manually installed the extension into app/code. As the latest release is only compatible with 2.4.1 you will get to see this error. Using the recommend Composer installation method you would get the previous release on 2.4.0. - please see installation options here.
got installation error on Magento 2.4 CE / php 7.4 Errors during compilation: Fooman\PrintOrderPdf\Model\Pdf\Order Incompatible argument type: Required type: \Magento\Framework\Locale\ResolverInterface. Actual type: \Magento\Store\Model\App\Emulation; File: /home/redacted/domains/redacted/public_html/app/code/Fooman/PrintOrderPdf/Model/Pdf/Order.php
when trying to print an order, I get "Type Error occurred when creating object: Fooman\PrintOrderPdf\Model\Pdf\Order"