===========
Array
(
    [0] => Array
        (
            [file] => /home/stclubcom/public_html/includes/boxes/products_also.php
            [line] => 55
            [function] => tep_db_query
            [args] => Array
                (
                    [0] => select distinct p.products_id, p.products_model,
    p.products_price, p.currency_code,
    p.products_image_status, p.products_status2,
 p.products_image, p.products_tax_class_id, pd.products_name,
 if(s.status, s.specials_new_products_price, p.products_price) as products_price
from (products p, products_description pd)
left join specials s on p.products_id = s.products_id
where p.products_status = '1'
 AND p.hide_for_cgid <> '0'
 and p.products_id = pd.products_id
 and pd.language_id = '1'
 and p.products_id IN (2045,2044,2043,2042,2041,2040,2024,2023,2022,2021,2019,2020,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1964,1903,1883,1863,1845,1186,940,939,938,941,942,943,945,944,946,2039,2037,2036,2035,2034,2033,2032,2031,2030,2029,2028,2027,2026,1996,1993,1992,1991,1655,1653,1652,1651,1562,1559,1557,1554,1553,1549,1548,1544,1536,1535,1532,1531,1530,1519,1518,1516,1515,1504,1503,1494,1496,1495,1493,1492,1491,1487,1486,1478,1477,1475,1474,1473,1472,1471,1469,1465,349,1988,445,1185,1179,1180,425,428,1849,448,1100,1178,1097,427,1124,329,299,1971,322,974,972,976,368,371,370,397,1082,271,420,2049,1037,1850,530,1851,529,1691,1715,1756,1747,1760,1752,1749,1813,463,1979,2325,2302,383,396,398,1093,639,2222,1099,1188,1854,389,1083,1191,385,959,434,436,2324,266,2278,1176,956,437,387,2241,1901,401,1967,2188,1177,2279,1852,384,414,1080,1955,2280,1096,1000,1134,1131,1076,1141,1135,2059,2253,2129,1023,1981,1982,1693,1761,1725,1702,1759,1746,1757,1758,1934,1929,1930,1928,1925,1922,)
order by rand() limit 12 
                )

        )

    [1] => Array
        (
            [file] => /home/stclubcom/public_html/includes/boxes/products_also.php
            [line] => 89
            [function] => get_products_also
            [args] => Array
                (
                    [0] => 2045,2044,2043,2042,2041,2040,2024,2023,2022,2021,2019,2020,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1964,1903,1883,1863,1845,1186,940,939,938,941,942,943,945,944,946,2039,2037,2036,2035,2034,2033,2032,2031,2030,2029,2028,2027,2026,1996,1993,1992,1991,1655,1653,1652,1651,1562,1559,1557,1554,1553,1549,1548,1544,1536,1535,1532,1531,1530,1519,1518,1516,1515,1504,1503,1494,1496,1495,1493,1492,1491,1487,1486,1478,1477,1475,1474,1473,1472,1471,1469,1465,349,1988,445,1185,1179,1180,425,428,1849,448,1100,1178,1097,427,1124,329,299,1971,322,974,972,976,368,371,370,397,1082,271,420,2049,1037,1850,530,1851,529,1691,1715,1756,1747,1760,1752,1749,1813,463,1979,2325,2302,383,396,398,1093,639,2222,1099,1188,1854,389,1083,1191,385,959,434,436,2324,266,2278,1176,956,437,387,2241,1901,401,1967,2188,1177,2279,1852,384,414,1080,1955,2280,1096,1000,1134,1131,1076,1141,1135,2059,2253,2129,1023,1981,1982,1693,1761,1725,1702,1759,1746,1757,1758,1934,1929,1930,1928,1925,1922,
                )

        )

    [2] => Array
        (
            [file] => /home/stclubcom/public_html/product_info.php
            [line] => 60
            [args] => Array
                (
                    [0] => /home/stclubcom/public_html/includes/boxes/products_also.php
                )

            [function] => require_once
        )

)

===========
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') order by rand() limit 12' at line 12

select distinct p.products_id, p.products_model, p.products_price, p.currency_code, p.products_image_status, p.products_status2, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price from (products p, products_description pd) left join specials s on p.products_id = s.products_id where p.products_status = '1' AND p.hide_for_cgid <> '0' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id IN (2045,2044,2043,2042,2041,2040,2024,2023,2022,2021,2019,2020,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1964,1903,1883,1863,1845,1186,940,939,938,941,942,943,945,944,946,2039,2037,2036,2035,2034,2033,2032,2031,2030,2029,2028,2027,2026,1996,1993,1992,1991,1655,1653,1652,1651,1562,1559,1557,1554,1553,1549,1548,1544,1536,1535,1532,1531,1530,1519,1518,1516,1515,1504,1503,1494,1496,1495,1493,1492,1491,1487,1486,1478,1477,1475,1474,1473,1472,1471,1469,1465,349,1988,445,1185,1179,1180,425,428,1849,448,1100,1178,1097,427,1124,329,299,1971,322,974,972,976,368,371,370,397,1082,271,420,2049,1037,1850,530,1851,529,1691,1715,1756,1747,1760,1752,1749,1813,463,1979,2325,2302,383,396,398,1093,639,2222,1099,1188,1854,389,1083,1191,385,959,434,436,2324,266,2278,1176,956,437,387,2241,1901,401,1967,2188,1177,2279,1852,384,414,1080,1955,2280,1096,1000,1134,1131,1076,1141,1135,2059,2253,2129,1023,1981,1982,1693,1761,1725,1702,1759,1746,1757,1758,1934,1929,1930,1928,1925,1922,) order by rand() limit 12

[TEP STOP]