Notice: Undefined index: season in /var/www/html/episode.php on line 15

Notice: Undefined index: number in /var/www/html/episode.php on line 16

Fatal error: Uncaught Exception: Query fallita: 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 Episode.number= AND Episode.showId=1766 AND TvShow.id=1766 LIMIT 1' at line 1 in /var/www/html/inc/database.php:38 Stack trace: #0 /var/www/html/episode.php(17): Database::query('SELECT Episode....') #1 {main} thrown in /var/www/html/inc/database.php on line 38