The query error is related to the custom index "Product Attribute Index", so you should find which module declares this custom index by running this command in your root directory: grep -r "Product Attribute Index" app vendor
.
Assume you found it declares in app/code/Asif/ProductAttributeIndexer
module, run this command from your root directory: grep -r "</indexer>" app/code/Asif/ProductAttributeIndexer
to find the indexer.xml
file.
Once you get the indexer.xml
, open that file to find Indexer class. Once you found the Indexer class, check the code in the Indexer class. I think that file is the answer to your question:
Where this Query is written so i could fix it.