===========
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 (784,964,1964,1883,1885,1965,692,1975,1974,1971,1970,1969,1968,1967,1963,1961,1962,1960,1959,1957,1956,1955,1954,1903,1901,1899,1898,1884,1868,1863,1862,1861,1860,1859,1858,1857,1856,1855,1853,1854,1852,1851,1850,1849,1846,1845,1843,1840,1680,1679,1678,1677,1676,1675,1674,1673,1672,1649,1646,1206,1205,1204,1202,1203,1201,1200,1199,1198,1197,1196,1195,1194,1193,1192,1191,1190,1189,1188,1187,1186,1185,1183,1181,1180,1179,1178,1177,1176,1175,1174,1167,1166,1165,1162,1142,1141,1140,1139,1138,1137,1136,1135,1134,1133,1132,1130,1129,1127,1126,1125,1124,1123,1122,1120,1119,1118,1117,1116,1115,1113,1112,1111,1110,1108,1107,1105,1104,1103,1102,1101,1100,1099,1097,1096,1095,1094,1093,1092,1091,1090,1089,1087,1084,1083,1082,1081,1080,1078,1077,1076,1072,1071,1069,1068,1064,1063,1062,1061,1060,1059,1058,1057,1056,1055,1054,1053,1049,1048,1047,1044,1041,1032,1031,1016,1013,1008,1003,1001,1000,999,996,994,990,987,986,985,984,983,982,980,979,978,977,976,975,974,973,972,971,969,968,967,966,965,963,962,961,960,959,958,957,956,)
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] => 784,964,1964,1883,1885,1965,692,1975,1974,1971,1970,1969,1968,1967,1963,1961,1962,1960,1959,1957,1956,1955,1954,1903,1901,1899,1898,1884,1868,1863,1862,1861,1860,1859,1858,1857,1856,1855,1853,1854,1852,1851,1850,1849,1846,1845,1843,1840,1680,1679,1678,1677,1676,1675,1674,1673,1672,1649,1646,1206,1205,1204,1202,1203,1201,1200,1199,1198,1197,1196,1195,1194,1193,1192,1191,1190,1189,1188,1187,1186,1185,1183,1181,1180,1179,1178,1177,1176,1175,1174,1167,1166,1165,1162,1142,1141,1140,1139,1138,1137,1136,1135,1134,1133,1132,1130,1129,1127,1126,1125,1124,1123,1122,1120,1119,1118,1117,1116,1115,1113,1112,1111,1110,1108,1107,1105,1104,1103,1102,1101,1100,1099,1097,1096,1095,1094,1093,1092,1091,1090,1089,1087,1084,1083,1082,1081,1080,1078,1077,1076,1072,1071,1069,1068,1064,1063,1062,1061,1060,1059,1058,1057,1056,1055,1054,1053,1049,1048,1047,1044,1041,1032,1031,1016,1013,1008,1003,1001,1000,999,996,994,990,987,986,985,984,983,982,980,979,978,977,976,975,974,973,972,971,969,968,967,966,965,963,962,961,960,959,958,957,956,
                )

        )

    [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 (784,964,1964,1883,1885,1965,692,1975,1974,1971,1970,1969,1968,1967,1963,1961,1962,1960,1959,1957,1956,1955,1954,1903,1901,1899,1898,1884,1868,1863,1862,1861,1860,1859,1858,1857,1856,1855,1853,1854,1852,1851,1850,1849,1846,1845,1843,1840,1680,1679,1678,1677,1676,1675,1674,1673,1672,1649,1646,1206,1205,1204,1202,1203,1201,1200,1199,1198,1197,1196,1195,1194,1193,1192,1191,1190,1189,1188,1187,1186,1185,1183,1181,1180,1179,1178,1177,1176,1175,1174,1167,1166,1165,1162,1142,1141,1140,1139,1138,1137,1136,1135,1134,1133,1132,1130,1129,1127,1126,1125,1124,1123,1122,1120,1119,1118,1117,1116,1115,1113,1112,1111,1110,1108,1107,1105,1104,1103,1102,1101,1100,1099,1097,1096,1095,1094,1093,1092,1091,1090,1089,1087,1084,1083,1082,1081,1080,1078,1077,1076,1072,1071,1069,1068,1064,1063,1062,1061,1060,1059,1058,1057,1056,1055,1054,1053,1049,1048,1047,1044,1041,1032,1031,1016,1013,1008,1003,1001,1000,999,996,994,990,987,986,985,984,983,982,980,979,978,977,976,975,974,973,972,971,969,968,967,966,965,963,962,961,960,959,958,957,956,) order by rand() limit 12

[TEP STOP]