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 '430,382,2162,1834,702,2022,1145) ORDER BY film ASC' at line 1