Db error: Unknown column 'catalog_models.Created' in 'where clause'
Error code: 1054
Query: SELECT DISTINCT BrandID, catalog_brands.Parent, COUNT(DISTINCT catalog_fast_models.ID) as filter_num FROM catalog_fast_models INNER JOIN catalog_brands ON catalog_brands.ID = catalog_fast_models.BrandID LEFT JOIN catalog_models_to_groups ON catalog_models_to_groups.ModelID = catalog_fast_models.ID WHERE catalog_fast_models.Domains = ? AND catalog_fast_models.CatID = ? AND (GroupID IN (184) OR (DATEDIFF(CURRENT_DATE, DATE(catalog_models.Created)) <= 30)) AND catalog_fast_models.ID IN (586657,723107,593856,586658,592204,586656,560220,584588,593374,560221,560217,560218,560222,560216,723098,594072,723104,560215,587275,723102,587274,584594,723103,584596,594073,593854,723105,723100,723099,583438,593858,593626,592201,592203,587273,593859,593562,560214,584595,738385,593855,723101,593860,723106,593857,593551,738386,593861,593771,592202) AND catalog_fast_models.ID IN (SELECT DISTINCT catalog_props_values.ModelID FROM catalog_props_values WHERE catalog_props_values.PropID = 190 AND catalog_props_values.ValID IN (2880,2909)) AND BrandID > 0 AND (catalog_brands.Domains = '' OR FIND_IN_SET('76', catalog_brands.Domains)) AND catalog_brands.Hide = ? GROUP BY BrandID ORDER BY BrandID DESC
Params: Array
(
[0] =>
[1] => 1228
[2] =>
)
Db error: Unknown column 'catalog_models.Created' in 'where clause'
Error code: 1054
Query: SELECT catalog_props_values.ValID, COUNT(DISTINCT catalog_fast_models.ID) as filter_num FROM catalog_props_values INNER JOIN catalog_fast_models ON catalog_fast_models.ID = catalog_props_values.ModelID LEFT JOIN catalog_models_to_groups ON catalog_models_to_groups.ModelID = catalog_fast_models.ID WHERE catalog_props_values.PropID = ? AND catalog_fast_models.Domains = ? AND catalog_fast_models.CatID = ? AND (GroupID IN (184) OR (DATEDIFF(CURRENT_DATE, DATE(catalog_models.Created)) <= 30)) AND catalog_fast_models.ID IN (586657,723107,593856,586658,592204,586656,560220,584588,593374,560221,560217,560218,560222,560216,723098,594072,723104,560215,587275,723102,587274,584594,723103,584596,594073,593854,723105,723100,723099,583438,593858,593626,592201,592203,587273,593859,593562,560214,584595,738385,593855,723101,593860,723106,593857,593551,738386,593861,593771,592202) GROUP BY catalog_props_values.ValID ORDER BY filter_num DESC
Params: Array
(
[0] => 190
[1] =>
[2] => 1228
)
Db error: Unknown column 'catalog_models.Created' in 'where clause'
Error code: 1054
Query: SELECT catalog_props_values.ValID, COUNT(DISTINCT catalog_fast_models.ID) as filter_num FROM catalog_props_values INNER JOIN catalog_fast_models ON catalog_fast_models.ID = catalog_props_values.ModelID LEFT JOIN catalog_models_to_groups ON catalog_models_to_groups.ModelID = catalog_fast_models.ID WHERE catalog_props_values.PropID = ? AND catalog_fast_models.Domains = ? AND catalog_fast_models.CatID = ? AND (GroupID IN (184) OR (DATEDIFF(CURRENT_DATE, DATE(catalog_models.Created)) <= 30)) AND catalog_fast_models.ID IN (586657,723107,593856,586658,592204,586656,560220,584588,593374,560221,560217,560218,560222,560216,723098,594072,723104,560215,587275,723102,587274,584594,723103,584596,594073,593854,723105,723100,723099,583438,593858,593626,592201,592203,587273,593859,593562,560214,584595,738385,593855,723101,593860,723106,593857,593551,738386,593861,593771,592202) AND catalog_fast_models.ID IN (SELECT DISTINCT catalog_props_values.ModelID FROM catalog_props_values WHERE catalog_props_values.PropID = 190 AND catalog_props_values.ValID IN (2880,2909)) GROUP BY catalog_props_values.ValID ORDER BY filter_num DESC
Params: Array
(
[0] => 181
[1] =>
[2] => 1228
)
Db error: Unknown column 'catalog_models.Created' in 'where clause'
Error code: 1054
Query: SELECT catalog_props_values.ValID, COUNT(DISTINCT catalog_fast_models.ID) as filter_num FROM catalog_props_values INNER JOIN catalog_fast_models ON catalog_fast_models.ID = catalog_props_values.ModelID LEFT JOIN catalog_models_to_groups ON catalog_models_to_groups.ModelID = catalog_fast_models.ID WHERE catalog_props_values.PropID = ? AND catalog_fast_models.Domains = ? AND catalog_fast_models.CatID = ? AND (GroupID IN (184) OR (DATEDIFF(CURRENT_DATE, DATE(catalog_models.Created)) <= 30)) AND catalog_fast_models.ID IN (586657,723107,593856,586658,592204,586656,560220,584588,593374,560221,560217,560218,560222,560216,723098,594072,723104,560215,587275,723102,587274,584594,723103,584596,594073,593854,723105,723100,723099,583438,593858,593626,592201,592203,587273,593859,593562,560214,584595,738385,593855,723101,593860,723106,593857,593551,738386,593861,593771,592202) AND catalog_fast_models.ID IN (SELECT DISTINCT catalog_props_values.ModelID FROM catalog_props_values WHERE catalog_props_values.PropID = 190 AND catalog_props_values.ValID IN (2880,2909)) GROUP BY catalog_props_values.ValID ORDER BY filter_num DESC
Params: Array
(
[0] => 184
[1] =>
[2] => 1228
)
Db error: Unknown column 'catalog_models.Created' in 'where clause'
Error code: 1054
Query: SELECT catalog_props_values.ValID, COUNT(DISTINCT catalog_fast_models.ID) as filter_num FROM catalog_props_values INNER JOIN catalog_fast_models ON catalog_fast_models.ID = catalog_props_values.ModelID LEFT JOIN catalog_models_to_groups ON catalog_models_to_groups.ModelID = catalog_fast_models.ID WHERE catalog_props_values.PropID = ? AND catalog_fast_models.Domains = ? AND catalog_fast_models.CatID = ? AND (GroupID IN (184) OR (DATEDIFF(CURRENT_DATE, DATE(catalog_models.Created)) <= 30)) AND catalog_fast_models.ID IN (586657,723107,593856,586658,592204,586656,560220,584588,593374,560221,560217,560218,560222,560216,723098,594072,723104,560215,587275,723102,587274,584594,723103,584596,594073,593854,723105,723100,723099,583438,593858,593626,592201,592203,587273,593859,593562,560214,584595,738385,593855,723101,593860,723106,593857,593551,738386,593861,593771,592202) AND catalog_fast_models.ID IN (SELECT DISTINCT catalog_props_values.ModelID FROM catalog_props_values WHERE catalog_props_values.PropID = 190 AND catalog_props_values.ValID IN (2880,2909)) GROUP BY catalog_props_values.ValID ORDER BY filter_num DESC
Params: Array
(
[0] => 226
[1] =>
[2] => 1228
)
Db error: Unknown column 'catalog_models.Created' in 'where clause'
Error code: 1054
Query: SELECT catalog_props_values.ValID, COUNT(DISTINCT catalog_fast_models.ID) as filter_num FROM catalog_props_values INNER JOIN catalog_fast_models ON catalog_fast_models.ID = catalog_props_values.ModelID LEFT JOIN catalog_models_to_groups ON catalog_models_to_groups.ModelID = catalog_fast_models.ID WHERE catalog_props_values.PropID = ? AND catalog_fast_models.Domains = ? AND catalog_fast_models.CatID = ? AND (GroupID IN (184) OR (DATEDIFF(CURRENT_DATE, DATE(catalog_models.Created)) <= 30)) AND catalog_fast_models.ID IN (586657,723107,593856,586658,592204,586656,560220,584588,593374,560221,560217,560218,560222,560216,723098,594072,723104,560215,587275,723102,587274,584594,723103,584596,594073,593854,723105,723100,723099,583438,593858,593626,592201,592203,587273,593859,593562,560214,584595,738385,593855,723101,593860,723106,593857,593551,738386,593861,593771,592202) AND catalog_fast_models.ID IN (SELECT DISTINCT catalog_props_values.ModelID FROM catalog_props_values WHERE catalog_props_values.PropID = 190 AND catalog_props_values.ValID IN (2880,2909)) GROUP BY catalog_props_values.ValID ORDER BY filter_num DESC
Params: Array
(
[0] => 1034
[1] =>
[2] => 1228
)