Notice: Undefined variable: current_program_ay in C:\inetpub\NEW_GOODTV\vod\vod_query.php on line 208

Notice: Undefined variable: current_program_ay in C:\inetpub\NEW_GOODTV\vod\vod_query.php on line 209

Notice: Undefined variable: all_series_nid in C:\inetpub\NEW_GOODTV\vod\vod_query.php on line 392

Warning: implode(): Invalid arguments passed in C:\inetpub\NEW_GOODTV\vod\vod_query.php on line 392

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') and `switch` = 1 and `premiere` <= '2018-08-17 23:07:10' and `delay` = 0 ' at line 2 in C:\inetpub\NEW_GOODTV\vod\vod_query.php:401 Stack trace: #0 C:\inetpub\NEW_GOODTV\vod\vod_query.php(401): PDO->query('select * from v...') #1 C:\inetpub\NEW_GOODTV\vod\index.php(5): include('C:\\inetpub\\NEW_...') #2 {main} thrown in C:\inetpub\NEW_GOODTV\vod\vod_query.php on line 401