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 /path_to_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 /path_to_magento_dir/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 Stack trace: #0 /path_to_magento_dir/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create(‘Temando\\Shippin…’) #1 /path_to_magento_dir/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get(‘Temando\\Shippin…’) #2 /path_to_magento_dir/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, ‘Temando\\Shippin…’, NULL, ‘packagingReposi…’, ‘Temando\\Shippin…’) #3 /path_to_magento_dir/vendor/magento/framework/Ob in /path_to_magento_dir/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!

9
Leave a Reply

avatar
8 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
9 Comment authors
DimitriSylwiaIsolde van Oosterhoutdkostelyanetsalexyo638 Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Michael
Guest
Michael

Appreciate this, had the same problem!

Herve Tribouilloy
Guest
Herve Tribouilloy

thanks for posting the fix, works great

Enrico
Guest
Enrico

thank you very very very very very much

alexyo638
Guest
alexyo638

Thank you Jared

dkostelyanets
Guest
dkostelyanets

Thanx for the solution! Got the same issue 🙂

Isolde van Oosterhout
Guest

Thank you 🙂

Sylwia
Guest
Sylwia

Thank you! It solved my problem 😉

Dimitri
Guest

Thanks a lot!