bin/magento module:disable Temando_Shipping)bin/magento setup:di:compile)bin/magento c:c && bin/magento c:f)PHP Fatal error: Uncaught Error: Cannot instantiate interface Temando\\Shipping\\Model\\ResourceModel\\Repository\\PackagingRepositoryInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50
If there is a dependency that requires Temando_Shipping, then the ability to disable it should not be an option.
EDIT: other commenters have confirmed the issue.
@DigitalStartupUK I don't think any of the core code depends on the Temando module. Did you run the setup:di:compile command (or delete the generated folder) after disabling the module? To me that seems like your dependency injection cache still contains references to the Temando classes.
I did a quick sanity check, resulting in the same issue:
bin/magento module:disable Temando_Shipping
rm -rf var/cache/* var/page_cache/* generated/code/*
bin/magento setup:di:compile
bin/magento c:c && bin/magento c:f
I should also note, that I'm sitting in Dev Mode. I've updated the original issue to include this.
Another problem is that you can't import or export products while Temando is disabled.
Another problem is that you can't import or export products while Temando is disabled.
I have confirmed this to be true as well.
[POST] 500 error [...]/adminhtml/Magento/backend/en_US/mage/backend/validation.js
More specifically at seeing exception when editing products.
Temando_Shipping module extension might have added an EAV attribute already with a specific source model that no longer exists. This could generate an exception Class Temando\Shipping\Model\Source\PackagingType does not exist. To fix this, run the following SQL query in your database:
DELETE FROM eav_attribute WHERE source_model LIKE '%Temando%'
I'm seeing this on v2.3.4 just trying to install a fresh Magento instance. The module does not exist in my config.php, but it still runs the migrations:
[Progress: 246 / 994]
Module 'Temando_Shipping':
Finally crashing with:
Fatal error: Uncaught Error: Cannot instantiate interface Temando\Shipping\Model\Config\ModuleConfigInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121
Stack trace:
#0 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Temando\\Shippin...', Array)
#1 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Temando\\Shippin...')
#2 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Temando\\Shippin...')
#3 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Temando\\Shippin...')
#4 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Temando\\Shippin...') in /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121
Temando installs couple of product attributes. So once the setup scrips were fired those have to be deleted before temando can be disabled/removed
'ts_dimensions_length', 'ts_dimensions_width', 'ts_dimensions_height', 'ts_packaging_type', 'ts_packaging_id' 'ts_hs_code'.
Ok for the rest of us not geniuses. How to delete product attributes that can't be deleted from the admin side?
Hi @sudheers-kensium. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.
[ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop branchDetails
- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 5. Add label Issue: Confirmed once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
:white_check_mark: Confirmed by @sudheers-kensium
Thank you for verifying the issue. Based on the provided information internal tickets MC-32687 were created
Issue Available: @sudheers-kensium, _You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself._
Ok for the rest of us not geniuses. How to delete product attributes that can't be deleted from the admin side?
SQL Table eav_attribute remove entries starting with ts_ (or search for Temando)
Hi @DigitalStartupUK.
Thank you for your report and collaboration!
The related internal Jira ticket MC-32687 was closed as non-reproducible in 2.4-develop.
It means that Magento team either unable to reproduce this issue using provided _Steps to Reproduce_ from the _Description section_ on clean Magento instance or the issue has been already fixed in the scope of other tasks.
But if you still run into this problem please update or provide additional information/steps/preconditions in the _Description section_ and reopen this issue.
Most helpful comment
Temando installs couple of product attributes. So once the setup scrips were fired those have to be deleted before temando can be disabled/removed
'ts_dimensions_length', 'ts_dimensions_width', 'ts_dimensions_height', 'ts_packaging_type', 'ts_packaging_id' 'ts_hs_code'.