Fix error after disable Temando_Shipping

1. The site is facing this error:

temando.CRITICAL: “accountId” is required. Enter and try again. {“exception”:”[object] (Magento\\Framework\\Exception\\InputException(code: 0): \”accountId\” is required. Enter and try again. at /magento/dir/vendor/magento/framework/Exception/InputException.php:91)”} []

2. I figured out that the Temando_shipping extension causes this issue.
So I disabled it by these commands:

3. The frontend is running OK, but errors in Admin (Product edit page, Feed schedule page):

Fatal error: Uncaught Error: Cannot instantiate interface Temando\Shipping\Model\ResourceModel\Repository\PackagingRepositoryInterface in /magento/dir/httpdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 Stack trace: #0 /magento/dir/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create(‘Temando\\Shippin…’) #1 /magento/dir/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get(‘Temando\\Shippin…’) #2 /magento/dir/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, ‘Temando\\Shippin…’, NULL, ‘packagingReposi…’, ‘Temando\\Shippin…’) #3 /magento/dir/httpdocs/vendor/magento/framework/Ob in /magento/dir/httpdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50

4. I got the idea from this Github issue, I must clear the EAV attribute that relating to Temando_Shipping because it could generate an exception Class Temando\Shipping\Model\Source\PackagingType does not exist when trying to edit product.

To make sure it will work, I run these commands after SQL command above:

That’s it!

6 Replies to “Fix error after disable Temando_Shipping”

Leave a Reply