Sometimes, this could happen that when you run
“php bin/magento setup:di:compile”
It can give you the below error:
1 2 3 |
Fatal error: Declaration of Temando\Shipping\Model\ResourceModel\CollectionPoint\OrderCollectionPointRepository::save(Temando\Shipping\Api\Data\CollectionPoint\OrderCollectionPointInterface $collectionPoint) must be compatible with Temando\Shipping\Model\ResourceModel\Repository\OrderCollectionPointRepositoryInterface::save(Temando\Shipping\Api\Data\Delivery\OrderCollectionPointInterface $collectionPoint) in /var/www/html/magento2\vendor\temando\module-shipping-m2\Model\ResourceModel\CollectionPoint\OrderCollectionPointRepository.php on line 24 |
Don’t get panic. Because the solution is very simple.
Now, let’s talk about the solution.
Solution: Completely remove the vendor/temando folder and all files then reinstall temando module.
That’s it. Let us know how it work with your coding journey.
[crayon-63e0ab5907c93954478790/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.