We are receiving the following error message when deploying to a live server.
PHP Fatal error: Declaration of Temando\Shipping\Model\ResourceModel\Carrier\Collection::fetchData() must be compatible with Temando\Shipping\Model\ResourceModel\Webservice\Collection::fetchData(Magento\Framework\Api\SearchCriteriaInterface $criteria) in /var/www/vhosts/XXX/htdocs/vendor/temando/module-shipping-m2/Model/ResourceModel/Carrier/Collection.php on line 22
Disabling Temando_Shipping makes no difference. We have cleared cache, etc but nothing seems to resolve the issue.
Solved! Go to Solution.
The solution was to run the following commands:
rm -rf vendor/* composer upgrade
Hi @pinkdigital
this issue is already reported on github couple of times , generally it resolved by disabling the module !
have you disable this module using command line ?
Also there is one external patch is there to resolve this issue i am sharing the link for the same - https://github.com/pfortin-expertime/MageFix-Temando
You can also refer this link - https://github.com/magento/magento2/issues/14472
I am not sure, but this is just suggestion that it might helps you !
I had already disabled the module but it has made no difference, upgrading to 2.2.4 has also not changed anything.
The solution was to run the following commands:
rm -rf vendor/* composer upgrade
where do you run this command?
rm -rf vendor/*
Hi there ,,,, Its not saved me
Same error
Compilation was started.
Repositories code generation... 1/7 [==>-----------------] 14% < 1 sec 76.5 MiBPHP 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
composer update not upgrade.