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 '2733,2168,3214,1451,2441,2275,2386,1207,2475,3886,101,1828,3642,5367,5448,2643,9' at line 1