Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' 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 'brien'' at line 1' in /home/network/library/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /home/network/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/network/library/Zend/Db/Adapter/Abstract.php(430): Zend_Db_Statement->execute(Array) #2 /home/network/library/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query('SELECT picture_...', Array) #3 /home/network/library/Zend/Db/Adapter/Abstract.php(641): Zend_Db_Adapter_Pdo_Abstract->query('SELECT picture_...', Array) #4 /home/network/application/modules/profile/models/Profile.php(403): Zend_Db_Adapter_Abstract->fetchAll('SELECT picture_...') #5 /home/network/application/modules/profile/controllers/ViewController.php(31): Profile->getUserPhoto(Object(Zend_Db_Ad in /home/network/library/Zend/Db/Statement/Pdo.php on line 238