Warning: Trying to access array offset on value of type null in /chroot/home/thecross/thecrossradio.com/html/views/show-play.php on line 7

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 MariaDB server version for the right syntax to use near 'and dl=1 and wf=1' at line 1 in /chroot/home/thecross/thecrossradio.com/html/classes/Podcasts.php:312 Stack trace: #0 /chroot/home/thecross/thecrossradio.com/html/classes/Podcasts.php(312): PDOStatement->execute() #1 /chroot/home/thecross/thecrossradio.com/html/views/show-play.php(7): Podcasts->getPodcastCount() #2 /chroot/home/thecross/thecrossradio.com/html/index.php(215): require('...') #3 /chroot/home/thecross/thecrossradio.com/html/index.php(254): {closure}() #4 {main} thrown in /chroot/home/thecross/thecrossradio.com/html/classes/Podcasts.php on line 312