Notice: Trying to access array offset on value of type bool in /app/library/classes/models/Kitchen.php on line 304

Notice: Trying to access array offset on value of type bool in /app/library/classes/models/Kitchen.php on line 305

Notice: Trying to access array offset on value of type bool in /app/library/classes/models/Kitchen.php on line 313

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1582 Incorrect parameter count in the call to native function 'radians' in /app/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /app/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /app/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #2 /app/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /app/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `K`.`tit...', Array) #4 /app/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select)) #5 /app/library/classes/models/Kitchen.php(360): Zend_Db_Select->query() #6 /app/web/kitchen-search.php(67): Kitchen::getAllKitchensByRadius(false, 20) #7 {main} Next Zend_Db_Statement_Exception: SQLSTATE[42000]: Syntax error or access violation: 1582 Incorrect parameter count in the call to native function 'radians', query was: SELECT `K`.`title`, `K`.` in /app/library/Zend/Db/Statement/Pdo.php on line 235