Warning: Undefined array key "photo_url" in /home2/baureacht/public_html/showPhotoDetail.php on line 28
Warning: Undefined array key 0 in /home2/baureacht/public_html/php/dao/photoDao.php on line 164
Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 4 in /home2/baureacht/public_html/php/dao/photoDao.php:179
Stack trace:
#0 /home2/baureacht/public_html/php/dao/photoDao.php(179): mysqli->query(' SELECT P.*, G....')
#1 /home2/baureacht/public_html/php/dao/photoDao.php(164): PhotoDao->retrievePhoto(NULL)
#2 /home2/baureacht/public_html/showPhotoDetail.php(41): PhotoDao->retrieveNextAndPrevPhotoId('23', '1242')
#3 {main}
thrown in /home2/baureacht/public_html/php/dao/photoDao.php on line 179