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

1054 Unknown column #66

Open
pketam2 opened this issue Oct 3, 2023 · 2 comments
Open

1054 Unknown column #66

pketam2 opened this issue Oct 3, 2023 · 2 comments

Comments

@pketam2
Copy link

pketam2 commented Oct 3, 2023

Hi

I installed the module without issues however when i browse the site i get error

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mgti_smile_productlabel_store.store_id' in 'where clause', query was: SELECT main_table.* FROM mgti_smile_productlabel AS main_table
INNER JOIN mgti_smile_productlabel_store AS smile_productlabel_store ON main_table.product_label_id = smile_productlabel_store.product_label_id WHERE (is_active = '1') AND (mgti_smile_productlabel_store.store_id IN(1, 0)) GROUP BY main_table.product_label_id

May you please assist

Rgds
Paul

@Dim3nsioneer
Copy link

same issue here. M2.4.6-p3.

@Dim3nsioneer
Copy link

found the issue in the sql statement: it uses the full table name instead of the alias in the where statement.

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