Notice: Undefined offset: 0 in /usr/home/hmwass/public_html/property-details.php on line 27

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 'AND file_type = 0 ORDER BY file_index' at line 1' in /usr/home/hmwass/public_html/property-details.php:30 Stack trace: #0 /usr/home/hmwass/public_html/property-details.php(30): PDO->query('SELECT file_url...') #1 {main} thrown in /usr/home/hmwass/public_html/property-details.php on line 30