1054 - Unknown column 'ao' in 'where clause'

SELECT products_sub_id, products_gtin, products_name, products_image, products_size, products_guide_size, p.brands_sub_id, p.seo_url, b.seo_url brands_seo_url, suppliers_sub_id, products_abv, products_final_price, products_dyn_price, products_quantity, if(products_description <> "", 1, "") products_description, products_gross_weight, products_width, products_format, products_height, products_depth, products_root, brands_name FROM products p left join brands b on p.brands_sub_id=b.brands_sub_id left join products_to_categories ptc on p.products_sub_id=ptc.products_id WHERE true AND (products_quantity > 0) AND p.products_status='1' and ptc.categories_id=ao and true ORDER BY products_name ASC LIMIT 0, 12

[TEP STOP]