FUNCTION admin_centtech.ss8_pl_calculateProductPriceForUser does not exist
SELECT SQL_CALC_FOUND_ROWS `products`.*, `products`.`TiAvailable` AS `iAvailable`, `products`.`fPrice` AS `fCatalogPrice`, `vat`.`fVatValue`, ss8_pl_calculateProductPriceForUser( NULL, `iProduct`, 1 ) AS `fPrice`, `products`.`TiCanBuy` AS `iCanBuy`, `products`.`TiVariantsCount` AS `iVariantCount` FROM `ss8_pl_products` AS `products` INNER JOIN `ss8_vat` AS `vat` USING( `iVat` ) WHERE 1 AND `products`.`iProduct` IN ( '' ) AND EXISTS ( SELECT 1 FROM `ss8_pl_products_pages` AS `products_pages` WHERE `products`.`iProduct` = `products_pages`.`iProduct` AND `products_pages`.`iPage` IN ( '4', '72', '46', '135', '86', '136', '69', '147', '65', '16', '121', '146', '120', '201', '163', '204', '117', '119', '124', '82', '205', '81', '200', '128', '115', '116', '150', '122', '151', '127', '99', '180', '107', '149', '125', '137', '106', '112', '138', '139', '80', '126', '134', '148', '152', '118', '154', '153', '162', '93', '100', '181', '108', '110', '94', '101', '159', '182', '140', '111', '95', '102', '169', '109', '165', '96', '103', '113', '141', '158', '97', '104', '114', '170', '156', '98', '105', '142', '161', '202', '157', '203', '160', '155', '15', '57', '71', '61', '70', '75', '59', '58', '74', '73', '64', '62', '35', '67', '17', '5', '6', '7', '8', '78', '77', '2', '9', '20', '22', '19', '32', '21', '18', '92' ) LIMIT 1 ) AND `products`.`iStatus` >= 1 ORDER BY RAND() LIMIT 0,5