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 '4088,3656,382,137,3778,3655,931,914,353,1052,899,900,1053,327,2660,2839,4211,457' at line 1