-
-
Notifications
You must be signed in to change notification settings - Fork 440
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 attribute name: main_table.store_id #939
Comments
This method was added to the collection in PR-884. I'm not sure. Should it work somehow? |
JFYI, an error was triggered with the following code: https://github.com/tmhub/easycatalogimg/blob/master/app/code/community/TM/EasyCatalogImg/Block/List.php#L116-L118
|
I think the problem is likely that the category collection class is different depending on if flat mode is currently enabled. Even if it is enabled it can be temporarily disabled automatically during indexing so you might see this problem come and go. So it probably needs some sort of "if" condition to run different code depending on if flat mode is in use or not. |
What about the method itself? Is there any way to run it without error? |
Ahh, I see now.. The method should be fixed in #951. Can you give it a try? |
Thank you! It helps. |
Merged. Thanks for testing! |
@all-contributors add @vovayatsyuk bug |
I've put up a pull request to add @vovayatsyuk! 🎉 |
Looks like there is an incorrect method declared in Category/Collection:
When trying to use it:
The following exception is thrown:
Original Magento doesn't have this method in a regular category collection (Only in Flat collection).
The text was updated successfully, but these errors were encountered: