There has been an error processing your request

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'alto_filter.source_id' in 'on clause', query was: INSERT INTO `mgv1_search_tmp_65f90ca28a1927_25981966` SELECT `main_select`.`entity_id`, SUM(score) AS `relevance` FROM (SELECT DISTINCT  `search_index`.`entity_id`, (((0) + (0) + (0)) * 1) AS `score` FROM `mgv1_catalog_product_index_eav` AS `search_index`
 INNER JOIN `mgv1_cataloginventory_stock_status` AS `stock_index` ON stock_index.product_id = search_index.entity_id AND `stock_index`.`website_id` = 0 AND `stock_index`.`stock_id` = 1
 INNER JOIN (SELECT `entity_id`, `store_id`, `attribute_id`, `value` FROM mgv1_catalog_product_index_eav WHERE `attribute_id`=140 AND `store_id`=1 GROUP BY CONCAT(`entity_id`," ",`attribute_id`," ",`store_id`," ",`value`) ) AS `alto_filter` ON `search_index`.`entity_id` = `alto_filter`.`entity_id` AND `alto_filter`.`attribute_id` = 140 AND `alto_filter`.`store_id` = 1
 INNER JOIN `mgv1_cataloginventory_stock_status` AS `alto_filter_stock_index` ON alto_filter_stock_index.product_id = alto_filter.source_id AND `alto_filter_stock_index`.`website_id` = 0 AND `alto_filter_stock_index`.`stock_id` = 1
 INNER JOIN (SELECT `entity_id`, `store_id`, `attribute_id`, `value` FROM mgv1_catalog_product_index_eav WHERE `attribute_id`=99 AND `store_id`=1 GROUP BY CONCAT(`entity_id`," ",`attribute_id`," ",`store_id`," ",`value`) ) AS `visibility_filter` ON search_index.entity_id = visibility_filter.entity_id AND `visibility_filter`.`attribute_id` = 99 AND `visibility_filter`.`value` in ('2', '4') AND `visibility_filter`.`store_id` = '1'
 INNER JOIN `mgv1_catalog_category_product_index_store1` AS `category_ids_index` ON search_index.entity_id = category_ids_index.product_id AND category_ids_index.store_id = '1' WHERE (search_index.store_id = '1') AND (`search_index`.`attribute_id` = 140) AND (`search_index`.`value` = '506') AND (category_ids_index.category_id in ('84')) AND (alto_filter.value = '506')) AS `main_select` GROUP BY `entity_id` ORDER BY `relevance` DESC, `entity_id` DESC
 LIMIT 10000

Error log record number: 408ca2c522e78e82a118683754f288078f005b3e2902442afd9a958d89364c74