Error when updating the extension.

Created by Robin Hoang, Modified on Thu, 21 Feb 2019 at 04:51 PM by Robin Hoang

Problem: 

We have updated your module, running on Magento 2.2.7 and when we run php bin/magento setup:upgrade; we get the following error: 

Module '...':

Upgrading data.. Attribute with ID: "...." does not exist

Ex: Module 'Bss_MultiStoreViewPricingTierPrice':

Upgrading data.. Attribute with ID: "tier_price_config_for_store" does not exist

The solution:

1. Please log in to the site's mysql via SSH

2. Run command: 

select * from setup_module where module like "Bss_%"; to find which extension has errors

Ex: Bss_MultiStoreViewPricingTierPrice  on schema and data are different http://prntscr.com/mo27kp

3. Run command: delete from setup_module where module= ... to remove the extension with errors 

Ex: delete from setup_module where module="Bss_MultiStoreViewPricingTierPrice"; 

4. Run php bin/magento setup:upgrade via SSH

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article