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

Notice: Trying to access array offset on value of type null in /var/www/ on line 217
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 '5376,6056,5622,4398,5435,5594,5802,441,436,2370,5480,443,4923,4228,5230,4001,332' at line 1