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 '1583,105,1834,364,1530,2188,2540,1779,2242,3104,717,4142) ORDER BY film ASC' at line 1