0

I have created data patch It was working fine locally

Unable to apply data patch Devall\SpecialPrice\Setup\Patch\Data\AddLabaCenaAttribute for module Devall_SpecialPrice. Original exception message: Notice: Undefined index: entity_type_id in /var/www/html/vendor/magento/module-eav/Setup/EavSetup.php on line 1097 now when setup:upgrading, have this error. What can be the problem I am using 2.3.3 magento

$this->eavSetupFactory->updateAttribute(4, 184, 'is_used_for_promo_rules', 1);

0

I used clean database so module changed its ID, that was the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.