Notice: Undefined index: id in /home/tonysardinia/public_html/plugin/multi_restaurant/content.gallery.fullgallery.php on line 6

Fatal error: Uncaught exception 'PDOException' with message '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 '' at line 1' in /home/tonysardinia/public_html/cls/classes/class.superclass.php:39 Stack trace: #0 /home/tonysardinia/public_html/cls/classes/class.superclass.php(39): PDO->query('SELECT * FROM d...') #1 /home/tonysardinia/public_html/plugin/multi_restaurant/plugin.multi_restaurant.php(1262): superclass->sql_select('SELECT * FROM d...') #2 /home/tonysardinia/public_html/plugin/multi_restaurant/content.gallery.fullgallery.php(7): plugin_multi_restaurant->get_List_Image_Gallery(NULL) #3 /home/tonysardinia/public_html/p/fullgallery.php(8): require('/home/tonysardi...') #4 /home/tonysardinia/public_html/dms.php(78): include('/home/tonysardi...') #5 {main} thrown in /home/tonysardinia/public_html/cls/classes/class.superclass.php on line 39