Issue: 


We are using the Magento 2 Order Delivery Date version 1.2.6 on Magento 2.2.10. 

When compiling code with php bin/magento setup:di:compile, we got an error:

       Bss\OrderDeliveryDate\Model\Plugin\Quote\QuoteManagement

              Incompatible argument type: Required type: \Magento\Quote\Model\SubmitQuoteValidator. Actual type: \Magento\Quote\Model\QuoteValidator; File:

/var/www/vhosts/magento.dev.richersounds.com/app/code/Bss/OrderDeliveryDate/Model/Plugin/Quote/QuoteManagement.php


The root of the issue:


The issue is caused due to the class Bss\OrderDeliveryDate\Model\Plugin\Quote\QuoteManagement 

This class has function extend from the class \Magento\Quote\Model\QuoteManagement, but it does not follow the form of argument type on Magento 2.2.10


Incompatible argument type:  \Magento\Quote\Model\SubmitQuoteValidator


Actual type: \Magento\Quote\Model\QuoteValidator


File: /xampp/htdocs/magento2210/app/code/Bss/OrderDeliveryDate/Model/Plugin/Quote/QuoteManagement.php



Solution:


Sincere this class Bss\OrderDeliveryDate\Model\Plugin\Quote\QuoteManagement has no function in our module's version 1.2.6, please remove it on your site.


Please check and follow our guide to make our module support on Magento 2.2.10.


If you need any further assistance, please feel free to contact us

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html