FUNCTION doge_doodge.ss13_pl_calculateProductPriceForUser does not exist
SELECT SQL_CALC_FOUND_ROWS `products`.*, `promoted`.`iPromotedMin`, `producers`.`sName` AS `prodsName`, `producers`.`sLogoUrl` AS `prodsLogoUrl`, `products`.`TiAvailable` AS `iAvailable`, `products`.`fPrice` AS `fCatalogPrice`, `vat`.`fVatValue`, ss13_pl_calculateProductPriceForUser( NULL, `products`.`iProduct`, 0 ) AS `fPrice`, LEAST( `products`.`TiCanBuy`, ss13_pl_getProductCanBuyForUser ( NULL, `products`.`iProduct` ) ) AS `iCanBuy`, `products`.`TiVariantsCount` AS `iVariantCount`, ss13_pl_getProductVisiblePriceForUser ( NULL, `products`.`iProduct` ) AS `iVisiblePrice` FROM `ss13_pl_products` AS `products` INNER JOIN ( SELECT DISTINCT `iProduct` FROM `ss13_pl_products_pages` WHERE `iPage` IN ( 155 ) ) AS `pp` USING( `iProduct` ) LEFT JOIN ( SELECT MIN( `iPromoted` ) `iPromotedMin`, `iProduct` FROM `ss13_pl_products_promoted` WHERE `iTimeValid` IS NULL OR `iTimeValid` >= UNIX_TIMESTAMP() GROUP BY `iProduct` ) `promoted` USING( `iProduct` ) INNER JOIN `ss13_vat` AS `vat` USING( `iVat` ) LEFT JOIN `ss13_pl_producers` AS `producers` USING( `iProducer` ) WHERE 1 AND ss13_pl_getProductVisibleForUser ( NULL, `products`.`iProduct` ) >= 1 AND `products`.`iStatus` >= 1 ORDER BY `products`.`iPosition` ASC, `products`.`sName` ASC, `products`.`iTime` ASC LIMIT 0,60