Table 'espark_eu.erp_prices_static' doesn't exist [SELECT SQL_CALC_FOUND_ROWS `products`.*, `products`.`TiPromotedMin` `iPromotedMin`, `erp`.`fPrice` `fErpMin`, `erp`.`fPrice` `fErpMax`, `producers`.`sName` AS `prodsName`, `producers`.`sLogoUrl` AS `prodsLogoUrl`, `products`.`TiAvailable` AS `iAvailable`, `products`.`fPrice` AS `fCatalogPrice`, `vat`.`fVatValue`, ss11_en_calculateProductPriceForUser( NULL, `products`.`iProduct`, 1 ) AS `fPrice`, LEAST( `products`.`TiCanBuy`, ss11_en_getProductCanBuyForUser ( NULL, `products`.`iProduct` ) ) AS `iCanBuy`, `products`.`TiVariantsCount` AS `iVariantCount`, ss11_en_getProductVisiblePriceForUser ( NULL, `products`.`iProduct` ) AS `iVisiblePrice` FROM `ss11_en_products` AS `products` LEFT JOIN `erp_prices_static` `erp` ON( `iSymKar` = `sProductIndex` AND `iUpdateTime` > DATE_SUB( NOW(), INTERVAL 10 DAY ) ) INNER JOIN `ss11_vat` AS `vat` USING( `iVat` ) LEFT JOIN `ss11_en_producers` AS `producers` USING( `iProducer` ) WHERE 1 AND ( `producers`.`iStatus` >= 1 OR `producers`.`sName` IS NULL ) AND `products`.`iProduct` IN ( '181872', '263855', '300929', '78217', '28185', '19494', '19495', '95783', '991', '1002', '1005', '1006', '384260', '384261', '384262', '19498', '152797', '1012', '55720', '19497', '35863', '278106', '95785', '183072', '284537', '95684', '28188', '95725', '71086', '95792', '211321', '208137', '28187', '1001', '19499', '190854', '136116', '95784', '996', '78225', '95787', '28200', '95683', '993', '199887', '375645', '115949', '292906', '234221', '436699', '95701', '116414', '28194', '401125', '436803', '353215', '467964', '352612', '467969', '467967', '354167', '467970', '467966', '436782', '357539', '181578', '95790', '28186', '95782', '297825', '19493', '95781', '479568', '479579', '479572', '479565', '402186', '402199', '479566', '479640', '402206', '479641', '479588', '287331', '287281', '287321', '479646', '479648', '479651', '479655', '287338', '479666', '403503', '479670', '479682', '479685', '402192', '479720', '479723', '479564', '479571', '479689', '479570', '404751', '479725', '479845', '287343', '292913', '292912', '479687', '479672', '479673', '479674', '479675', '86951', '436695', '479574', '481204', '192152', '91687', '481208', '401082', '384264', '371433', '328203', '401098', '401122', '401121', '481203', '481202', '481200', '481201', '340155', '384259', '401124', '435875', '384258', '479941', '331816', '482044', '482046', '352610', '467972', '402191', '482054', '479650', '355923', '357550', '482190', '401096', '401095', '372354', '435876', '256756', '231147', '244355', '230286', '301890', '287402', '284299', '287405', '287406', '407925', '352998', '354637', '352999', '206624', '28184', '468506', '482034', '482025', '352614', '353449', '355471', '352613', '436694', '435900', '435873', '482199', '482196', '435874', '95780', '28195', '482204', '482203', '435884', '435883', '260330', '435870', '997', '435885', '372930', '106182', '51156', '21102', '21103', '21104', '482202', '357324', '481308', '482294', '436818', '482165', '357429', '357385', '20491', '209992', '282777', '211063', '264261', '482180', '352992', '353001', '481978', '482222', '482201', '479649', '479690', '479943', '401107', '481977', '401106', '482336', '401108', '401110', '263681', '481981', '401091', '435913', '435932', '481982', '269236', '482341', '401112', '482547', '401114', '438432', '401113', '402209', '435914', '402188', '479877', '403505', '402187', '402205', '479715', '479681', '479688', '402193', '479654', '479656', '479717', '401109', '479719', '479722', '401094', '479684', '403518', '479581', '479644', '479645', '481295', '481303', '481304', '481181', '481300', '480957', '481179', '481177', '479951', '481178', '479895', '482136', '482103', '482049', '482223', '339831', '435418', '485707', '95746', '339823', '482188', '467963', '482057', '482084', '482077', '482189', '479879', '372178', '479950', '28189', '287428', '481297', '482102', '106630', '482200', '435869', '482055', '479875', '479563', '482073', '371455', '479569', '479680', '479942', '481293', '479954', '481182', '479871', '481294', '481301', '482105', '482186', '482184', '482185', '479573', '480959', '183158', '292900', '482337', '435934', '352609', '353002', '482031', '482211', '10772', '340368', '435909', '435908', '479652', '290506', '309178', '371451', '481186', '352647', '228495', '436679', '401120', '481302', '401111', '482080', '136120', '28190', '482030', '482047', '482048', '482050', '482032', '482029', '482026', '436749', '404417', '404418', '482036', '482027', '482035', '482028', '482039', '401085', '401088', '287270', '435871', '401093', '331819', '481298', '479716', '479718', '479567', '479726', '479578', '479677', '479867', '479576', '402204', '482043', '435912', '435933', '482146', '479940', '353451', '479562', '479947', '69394', '183586', '436750', '224635', '246393', '260244', '479929', '479930', '479821', '482175', '179636', '339819', '95741', '95745', '482079', '482075', '482083', '479560', '479661', '372236', '479876', '479934', '479933', '481189', '481206', '287327', '340371', '184163', '67183', '482540', '482292', '262068', '438433', '482134', '482126', '482164', '482111', '482100', '482101', '355391', '482038', '482040', '404419', '479946', '479944', '482037', '482187', '401084', '401086', '401087', '51106', '187582', '482078', '106191', '375652', '481299', '479878', '479952', '481185', '481291', '481292', '435935', '435936', '401092', '272908', '256102', '95739', '371596', '352607', '354110', '482142', '482163', '479882', '479883', '202884', '479931', '436692', '436775', '95671', '95747', '95740', '339804', '482076', '482081', '51279', '51289', '6727', '435902', '482072', '482074', '482193', '384265', '212796', '178773', '277704', '28054', '28066', '200087', '106173', '27866', '106181', '106225', '212797', '339806', '340370', '482112', '372138', '482045', '482033', '184185', '241465', '481343', '328204', '371432', '340369', '372058', '399902', '228759', '328205', '371504', '371615', '372293', '372391', '479870', '479928', '481187', '479948', '479945', '371652', '372867', '371396', '481207', '999', '180502', '109962', '28017', '238022', '199343', '436693', '482099', '482198' ) AND EXISTS ( SELECT 1 FROM `ss11_en_products_pages` AS `products_pages` WHERE `products`.`iProduct` = `products_pages`.`iProduct` AND `products_pages`.`iPage` IN ( '1', '7863', '9', '7859', '11', '7904', '7905', '7906', '26', '7829', '7781', '7871', '7776', '27', '30', '7819', '7837', '7875', '7817', '5210', '7808', '5636', '7805', '7512', '6166', '5236', '7914', '7420', '7416', '5643', '7277', '6371', '5589', '5588', '7325', '7511', '7567', '7604', '6470', '5675', '7453', '7455', '7456', '5701', '7457', '7548', '7314', '6824', '7599', '7569', '7568', '7311', '7312', '5977', '5978', '7597', '7603', '7541', '6191', '7594', '7313', '5646', '6800', '7397', '7310', '7574', '6239', '6446', '5332', '6466', '7601', '7566', '5702', '5703', '7544', '7549', '6447', '6448', '6469', '6481', '6468', '6332', '7435', '7315', '7190', '5590', '7516', '6453', '7605', '6524', '6907', '7828', '7578', '6270', '7507', '7641', '7587', '6194', '7333', '7215', '7343', '6823', '6247', '6268', '6257', '6433', '5179', '7340', '5178', '6095', '6096', '7396', '7342', '7344', '7199', '7565', '5289', '5298', '5321', '6956', '5684', '5580', '7195', '7110', '7284', '7287', '6312', '7355', '7380', '6456', '5957', '7341', '5516', '6519', '7187', '5650', '6228', '6226', '6242', '6235', '7360', '7362', '7361', '7359', '7358', '7363', '5637', '6223', '6060', '7494', '6224', '6057', '6099', '6098', '6097', '6059', '7503', '5628', '5606', '6238', '5605', '6090', '6703', '7504', '6069', '6093', '6080', '6094', '5173', '5314', '5429', '5435', '5312', '6056', '7052', '7376', '7384', '7383', '6162', '6179', '5487', '5159', '7051', '6734', '6339', '7050', '5287', '7438', '6882', '6685', '6467', '7049', '7198', '7616', '7062', '7609', '5519', '6841', '6308', '5430', '6353', '5197', '7539', '5171', '5594', '5644', '5640', '5566', '5562', '5685', '6352', '5563', '5248', '6759', '7209', '7621', '5612', '7402', '5678', '7392', '7368', '5469', '6951', '5560', '7464', '5283', '5518', '5973', '5445', '5440', '5464', '5411', '5648', '6172', '5561', '5979', '6221', '5716', '5160', '5564', '5985', '6054', '7388', '7386', '6837', '5540', '6216', '7542', '6766', '7072', '5382', '5201', '7281', '7595', '7322', '7316', '7229', '7636', '7147', '6341', '6883', '6051', '5680', '5604', '5608', '5164', '6439', '6411', '6261', '5657', '5666', '6794', '5602', '5665', '5668', '5632', '5669', '5671', '5630', '5659', '7221', '7629', '6673', '7176', '6708', '6709', '7836', '5188', '7100', '6935', '6976', '7003', '6931', '6985', '6940', '6713', '5524', '7370', '6208', '6230', '6485', '5951', '7439', '6215', '6210', '6227', '5219', '6692', '6412', '6071', '5154', '6993', '6994', '6833', '6349', '7352', '5438', '5401', '5409', '5441', '5345', '5357', '5358', '7400', '5405', '5156', '5157', '5257', '6873', '6393', '5391', '5548', '6855', '7070', '5274', '5511', '5301', '5455', '5436', '5456', '5462', '7525', '6245', '6944', '7202', '6700', '5521', '6699', '5252', '7405', '5599', '7060', '5681', '7032', '6055', '7091', '7055', '7133', '7044', '7150', '7146', '7089', '7134', '7172', '7179', '6844', '5247', '5240', '5250', '7618', '7624', '7206', '7216', '7196', '7614', '7222', '7630', '7217', '7625', '6725', '5481', '6926', '6966', '6936', '7008', '6933', '6930', '6938', '5595', '7059', '6723', '5396', '7577', '6379', '6391', '6176', '6880', '5408', '6733', '6231', '5502', '6358', '6414', '6256', '7144', '5245', '7115', '7546', '6890', '6888', '6886', '7197', '7615', '6887', '6868', '7074', '7075', '7076', '7833', '6680', '5309', '5474', '5279', '5286', '7303', '7304', '7305', '6959', '6928', '6952', '6923', '6400', '6402', '6915', '6846', '6851', '6801', '6081', '5698', '7613', '5452', '6168', '6155', '6165', '6139', '6160', '6167', '7514', '6144', '6159', '6158', '6164', '6157', '6321', '6152', '6163', '7884', '7783', '7784', '6118', '5966', '7443', '6362', '6000', '7433', '5583', '5617', '5651', '5652', '6507', '6493', '7538', '6809', '6830', '6806', '7117', '7283', '7640', '7212', '6929', '5338', '5434', '5400', '5265', '5323', '5955', '5351', '6246', '5688', '5294', '5284', '6206', '5635', '6225', '7407', '5296', '5288', '5292', '6334', '5317', '5468', '5426', '5473', '5458', '6204', '6203', '5271', '5269', '6879', '6359', '6892', '6891', '6085', '5717', '7088', '5324', '5325', '5320', '5310', '5291', '5350', '6335', '7047', '6862', '5482', '6259', '6702', '6845', '7610', '5304', '5607', '6735', '7021', '6473', '7338', '5686', '7022', '6805', '6820', '6819', '6271', '6812', '6828', '6815', '6810', '6811', '6825', '7237', '7238', '7258', '7236', '7038', '5500', '6383', '6267', '6357', '6461', '5480', '6337', '5653', '6188', '6237', '5719', '5693', '5695', '5696', '5711', '5707', '5715', '5709', '5713', '5692', '5694', '5613', '7382', '6220', '7356', '7877', '6438', '5246', '5242', '6898', '6899', '5256', '6802', '6390', '6253', '7598', '6328', '6243', '5616', '6950', '5491', '7002', '6982', '6979', '6932', '6990', '6984', '7010', '6937', '6967', '6968', '7006', '7445', '7332', '5427', '5420', '7403', '5417', '5465', '5423', '5418', '5442', '7404', '5416', '5424', '5419', '7401', '5414', '5196', '7329', '7048', '7249', '7585', '7584', '7331', '7156', '7161', '7171', '6847', '5478', '6977', '7235', '7083', '5403', '7037', '7081', '7234', '7188', '7148', '7296', '7297', '7298', '7299', '7327', '7294', '7295', '7328', '7040', '7026', '6399', '5501', '5496', '5495', '5944', '5507', '7375', '5679', '5992', '5706', '7417', '6405', '5522', '5544', '7372', '6187', '5520', '5528', '5510', '6859', '6860', '6866', '7802', '5437', '6378', '5627', '5618', '6183', '5259', '5307', '5305', '6170', '6252', '7259', '7220', '7628', '7064', '6941', '6421', '5983', '5958', '5959', '5970', '5963', '5939', '5961', '5960', '5517', '6695', '5553', '6853', '7082', '7253', '7588', '5975', '6927', '6108', '6122', '6106', '5513', '6100', '6186', '7185', '6134', '7883', '7855', '7796', '7797', '6217', '6370', '7415', '6772', '6198', '5413', '5672', '6396', '7377', '6858', '5404', '7550', '7379', '5634', '7410', '5558', '7292', '6195', '7411', '6002', '7527', '6197', '6088', '6171', '6192', '5177', '6193', '6912', '5565', '7596', '7067', '7787', '6790', '7201', '5570', '7838', '6904', '5993', '6004', '7385', '5523', '5988', '5532', '6219', '5514', '6351', '5170', '7154', '7111', '7183', '7210', '6084', '7028', '7046', '6908', '5263', '7458', '7013', '5494', '6896', '5385', '6384', '6189', '7098', '7592', '7591', '7317', '7321', '7247', '7248', '7300', '7301', '7302', '7246', '7043', '7318', '7276', '7192', '7256', '7250', '7251', '7289', '7589', '7581', '7582', '7231', '7638', '7593', '7252', '7121', '7257', '5592', '7463', '7061', '7142', '5964', '6746', '5546', '5705', '6503', '5342', '5683', '5451', '6366', '5515', '5990', '7408', '5999', '5956', '5394', '5392', '5479', '5303', '5593', '7225', '7633', '7306', '7307', '6934', '6969', '7163', '7351', '5315', '5971', '5466', '5347', '6939', '5940', '7228', '7635', '5485', '7031', '5189', '6689', '5329', '5610', '5700', '5328', '5410', '5353', '5412', '5380', '6001', '5365', '5556', '5399', '5476', '5327', '5361', '5428', '5432', '7424', '5238', '5282', '5326', '5331', '5447', '5376', '5559', '6920', '6921', '7119', '7024', '7063', '7330', '5198', '6924', '6960', '5947', '5943', '5545', '5448', '5280', '5603', '6710', '7066', '7454', '5333', '7036', '7025', '7326', '7815', '7178', '7177', '5373', '5431', '5433', '5389', '5355', '5371', '5349', '6911', '5299', '6361', '5638', '6360', '6083', '6381', '5629', '5488', '6914', '6913', '6875', '7500', '7496', '6078', '6079', '6077', '6075', '7497', '7499', '7373', '7809', '5945', '6409', '6424', '6442', '6450', '6410', '6452', '6423', '5213', '5597', '6333', '7469', '5483', '7413', '7130', '6392', '7125', '6343', '7490', '5344', '5402', '5370', '5348', '5601', '5346', '5622', '5352', '6440', '6443', '6437', '5406', '5450', '5368', '6918', '6919', '5656', '6338', '5554', '5363', '5446', '5407', '5362', '5591', '5461', '5308', '5306', '6074', '6113', '6232', '7637', '7230', '7395', '7371', '6263', '7876', '6874', '6854', '6863', '6418', '7293', '6419', '6420', '7414', '5998', '7194', '5484', '5449', '7406', '5375', '5369', '6945', '6775', '5243', '5244', '7451', '5239', '6774', '6872', '6415', '5152', '7145', '5183', '7071', '6758', '6082', '5676', '5398', '5994', '6365', '7101', '6949', '6922', '6181', '5623', '7792', '7770', '6817', '6831', '6731', '6840', '6871', '7608', '6902', '6385', '6207', '7207', '7619', '7208', '7620', '6173', '7141', '5534', '5535', '7515', '5624', '5625', '7205', '7617', '7286', '7123', '7182', '7254', '7255', '7419', '6729', '7034', '7830', '6311', '6323', '6307', '5600', '6331', '6310', '7364', '6314', '7521', '6322', '6315', '6369', '6324', '5472', '7369', '7357', '5567', '5677', '7391', '7607', '6900', '7399', '6525', '5699', '7042', '7437', '5165', '5155', '5158', '5169', '7087', '5987', '7562', '5537', '5527', '5530', '5989', '5991', '6003', '5161', '5336', '7090', '7280', '7180', '7068', '7041', '7039', '7057', '7056', '7219', '7627', '7058', '7106', '6995', '6865', '7244', '7580', '7273', '7245', '7275', '7266', '7267', '7319', '7320', '7290', '7214', '7029', '7030', '7166', '6375', '6202', '6184', '5697', '5584', '7478', '5682', '5687', '5965', '5568', '6182', '5539', '5551', '5552', '5571', '7069', '6906', '7571', '7211', '7623', '5489', '7016', '7015', '7012', '6980', '6991', '7020', '7014', '6978', '6970', '7004', '6983', '6989', '6961', '6955', '6962', '6954', '6957', '6965', '6417', '6148', '6146', '6156', '7785', '5986', '6356', '7612', '7282', '7193', '6372', '7523', '7132', '6925', '5249', '7611', '7218', '7626', '6870', '6736', '7583', '7448', '6472', '6454', '6482', '5526', '6686', '6691', '6808', '7436', '6807', '6829', '7143', '7226', '7622', '6177', '6174', '7506', '5285', '5311', '5258', '5439', '5421', '5444', '7409', '5313', '5322', '6973', '7189', '5241', '5260', '6869', '6958', '6974', '6981', '6255', '7602', '7632', '5948', '7461', '7109', '7077', '5454', '5499', '5952', '5264', '5980', '5497', '6946', '7460', '5372', '7606', '7279', '7278', '5467', '5641', '7139', '5300', '5477', '5949', '5302', '5339', '7084', '5950', '5453', '7184', '6229', '7510', '6347', '7557', '7233', '6367', '5200', '5190', '5184', '5205', '7365', '6732', '6350', '5626', '6218', '6190', '7366', '5976', '6234', '6804', '6484', '6348', '6364', '6240', '6690', '6471', '6241', '5261', '5272', '7459', '5490', '7440', '7045', '7224', '7398', '5277', '6901', '5266', '5270', '5268', '5273', '7093', '7162', '7118', '6222', '6212', '5387', '5512', '7873', '7308', '7309', '6136', '5153', '5996', '6355', '7239', '7240', '7270', '7271', '7288', '7260', '7261', '7242', '7241', '7272', '7204', '7291', '7113', '7203', '7191', '7243', '5181', '5343', '7418', '5359', '6910', '5689', '5611', '7009', '7112', '7023', '7116', '7035', '7054', '7264', '7265', '7262', '7263', '7065', '5614', '6818', '7434', '7826', '5337', '5690', '5293', '5334', '5295', '5281', '7492', '5667', '5631', '5662', '5633', '5660', '5615', '5586', '6832', '7560', '7033', '7086', '5367', '7285', '5639', '6050', '6063', '6086', '6087', '6089', '5609', '5621', '6707', '5541', '5649', '5388', '5383', '6917', '5384', '5941', '5390', '5968', '5459', '7274', '7268', '6260', '5278', '6211', '7394', '6214', '6091', '6380', '6265', '6264', '5620', '5967', '5974', '5587', '7441', '5962', '5503', '7552', '6894', '5954', '5953', '6943', '5942', '6889', '7323', '7324', '5318', '5443', '5415', '5319', '5425', '5422', '5475', '5356', '7349', '6510', '7232', '7639', '6169', '6948', '6233', '6175', '7213', '6209', '6178', '6196', '7347', '6696', '6704', '6999', '5366', '5492', '5486', '6377', '6435', '6842', '5691', '6799', '6757', '6683', '7579', '6213', '5290', '7444', '7334', '6693', '6881', '5995', '6236', '5982', '7080', '6342', '7586', '7389', '5661', '7168', '7167', '7079', '7227', '7634', '7223', '7631', '6782', '6767', '5364', '6762', '6903', '7027', '5655', '5645', '6679', '6816', '6803', '6465', '7563', '6885', '5969', '7337', '7428', '6407', '6406', '7431', '7425', '6878', '7426', '6876', '6404', '6073', '7412', '6403', '7427', '6394', '6395', '6072', '6205', '6909', '7545', '6905', '5585', '5253', '6877', '5582', '5579', '5575', '5576', '5569', '5572', '6884', '5581', '5577', '5574', '5573', '6895', '6778', '7832', '5578', '7108', '7269', '7590', '7559', '7200', '5946', '6150', '6149', '6140', '6151', '6142', '6138', '6154', '6145', '6141', '6153', '6147', '6143', '7786', '6897', '7766', '5208', '5199', '5642', '7818', '6161', '7803', '6123', '7810', '5228', '7771', '7878', '5218', '7345', '5598', '7801', '6125', '5209', '7823', '7348', '7879', '7874', '5207', '5175', '5619', '6128', '5222', '7825', '7804', '5235', '7759', '6135', '5216', '7827', '7824', '5163', '5220', '6114', '7346', '7880', '5193', '6105', '5211', '7763', '7881', '6126', '5214', '7882', '5596', '7762', '5202', '6124', '5215', '7822', '5203', '5223', '6104', '7767', '5194', '7768', '5234', '6130', '7758', '5224', '5182', '7779', '5217', '5204', '6127', '5229', '5162', '6133', '5212', '5195', '7765', '5185', '7447', '6103', '6107', '6129', '7764', '5221', '6102', '7800', '7812', '6120', '6131', '6110', '6112', '6116', '6121', '6109', '6137', '6101', '6117', '7773', '7774', '48', '7681', '68', '32', '69', '4', '5', '6', '7', '8', '17', '18', '19', '20', '2', '7853', '10', '22', '7775', '12', '3', '13', '14', '15', '7872', '16', '7885', '7896', '7900', '21', '7897', '7899', '7902', '7901', '7898', '7903', '60', '61', '62', '53', '55', '57', '56', '59', '54', '63', '64', '65', '66', '58' ) LIMIT 1 ) AND ss11_en_getProductVisibleForUser ( NULL, `products`.`iProduct` ) >= 1 AND `products`.`iStatus` >= 1 ORDER BY RAND() LIMIT 0,6]