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 '3428,443,2370,3564,436,4398,4383,4250,5376,5659,1145,7957,8122) ORDER BY film AS' at line 1