Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid entity_type specified: catalog_product #2

Open
michielgerritsen opened this issue Oct 24, 2019 · 0 comments
Open

Invalid entity_type specified: catalog_product #2

michielgerritsen opened this issue Oct 24, 2019 · 0 comments

Comments

@michielgerritsen
Copy link
Owner

This happens sometimes when adding a EAV attribute for products:

$eavSetup->addAttribute(
    \Magento\Catalog\Model\Product::ENTITY,
    [
        // ...
    ]
);

This is caused due to not having Magento_Catalog as a dependency listed in module.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant