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

SQL issue #147

Open
dvdmierden opened this issue Aug 9, 2017 · 1 comment
Open

SQL issue #147

dvdmierden opened this issue Aug 9, 2017 · 1 comment

Comments

@dvdmierden
Copy link

I've installed, uninstalled & reinstalled the extension.

Now when enabling the extension & trying to reindex the Groupscatalog Categories index, I see the following SQL error in the exception log:

Exception message: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a.value' in 'field list', query was: SELECT `e`.`entity_id`, `a`.`value` AS `group_ids`, `a`.`store_id` FROM `catalog_category_entity` AS `e`
 LEFT JOIN `catalog_category_entity` AS `a` ON e.entity_id=a.entity_id AND a.attribute_id = '' ORDER BY `e`.`entity_id` ASC, `a`.`store_id` ASC

Because of this issue, all categories are hidden in the frontend.

Turns out, the catalog_category_entity table is searched, but that indeed doesn't have a 'value' column. I believe it should look in catalog_category_entity_int , but I'm not sure how to resolve this.

Any thoughts?

@renttek
Copy link

renttek commented Aug 31, 2017

Hey,

which Magento version are you using? And is there a PHP Stacktrace printed when the error occurs?
I'll try to reproduce this later when I'm home.

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

2 participants