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 '3130,4174,2475,1834,1072,3622,664,1842,2448,4806,2775,4582,677,1805,781,3627,301' at line 1