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

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

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

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

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-06-23 04:32:55' and `delay` = 0 ' at line 2 in C:\inetpub\NEW_GOODTV\vod\vod_query.php:390 Stack trace: #0 C:\inetpub\NEW_GOODTV\vod\vod_query.php(390): 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 390