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

Error in tables #3

Closed
teodorpav opened this issue Jan 23, 2022 · 3 comments
Closed

Error in tables #3

teodorpav opened this issue Jan 23, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@teodorpav
Copy link

When I ran: bin/magento eav:attributes:remove-unused --dry-run

I receive:

In Mysql.php line 599:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ee.catalog_product_entity_static' doesn't exist, query was:
SELECT COUNT(*) FROM catalog_product_entity_static WHERE attribute_id = ?

In Mysql.php line 110:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ee.catalog_product_entity_static' doesn't exist, query was:
SELECT COUNT(*) FROM catalog_product_entity_static WHERE attribute_id = ?

In Mysql.php line 91:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ee.catalog_product_entity_static' doesn't exist

@sprankhub
Copy link
Member

Oh that is a good one! That would currently indeed happen for any attribute with backend type static, because we do not have a check for that. Would you be able to submit a PR for that?

@sprankhub sprankhub added the bug Something isn't working label Jan 23, 2022
@teodorpav
Copy link
Author

teodorpav commented Jan 23, 2022

Thank you.
I can't pull request.
If you can do this for me.

sprankhub added a commit that referenced this issue Jan 25, 2022
@sprankhub
Copy link
Member

This has now been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants