Notice: Undefined offset: 2811 in /var/www/ on line 1044

Notice: Trying to access array offset on value of type null in /var/www/ on line 236
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1267,749,4219,5221,3214,2262,1583,105,364,1530,751,684,441,382,2188,2540,830,334' at line 1