When adding a new field in the sales order grid everything works well, but when you try to filter by date or some other field, you will get the below error message. Usually, it redirects to some other page and throws the Magento exception number screen, it’s horrible, isn’t it?
There has been an error processing your request
SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘status’ in where clause is ambiguous
By Modifying the status field in the form field array of custom module you can fix this,
Did this post help you?
Tutsplanet brings in-depth and easy tutorials to understand even for beginners. This takes a considerable amount of work. If this post helps you, please consider supporting us as a token of appreciation:
- Just want to thank us? Buy us a Coffee
- May be another day? Shop on Amazon using our links.
Your prices won't change but we get a small commission.
Leave a Reply