1327 - Undeclared variable: MAX_CATEGORY_TOP_PRODUCTS

SELECT * FROM prd_std_1_products p WHERE productskk_prodtype in (6060,6061,6062,6063,6064,6065,6066,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086) order by rRang desc limit MAX_CATEGORY_TOP_PRODUCTS

[XT SQL Error]