M2 2.2.2 版本已知 bug
M2 2.2.2 版本已知 bug
1,
<code>Errors during compilation: MagestoreBannersliderModelResourceModelBannerCollection Incompatible argument type: Required type: MagentoFrameworkDBAdapterAdapterInterface. Actual type: MagentoFrameworkModelResourceModelDbAbstractDb; File:</code>
把文件
里面的
<code>$cOnnection= null,</code>
改成
<code>public function __construct( ... MagentoFrameworkDBAdapterAdapterInterface $cOnnection= null ... ) {</code>
https://github.com/magento/magento2/issues/12921
2,
<code>Temando Shipping assumes no other ExtensionAttribute users</code>
打开
<code>vendor/temando/module-shipping-m2/Observer/SaveCheckoutFieldsObserver.php on line 73</code>
改成
<code>$extensiOnAttributes= $quoteAddress->getExtensionAttributes(); if($extensionAttributes->getCheckoutFields()){ $checkoutAddress->setServiceSelection($extensionAttributes->getCheckoutFields()); } $this->addressRepository->save($checkoutAddress);</code>
https://github.com/magento/magento2/issues/12921