Notice: Undefined variable: lat in /home/mehran10/public_html/sites/offerwatch/getNearBy.php on line 75
Notice: Undefined variable: lng in /home/mehran10/public_html/sites/offerwatch/getNearBy.php on line 77
Notice: Undefined variable: lat in /home/mehran10/public_html/sites/offerwatch/getNearBy.php on line 78
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1582 Incorrect parameter count in the call to native function 'radians' in /home/mehran10/public_html/sites/offerwatch/dbconfig.php:111
Stack trace:
#0 /home/mehran10/public_html/sites/offerwatch/dbconfig.php(111): PDOStatement->execute()
#1 /home/mehran10/public_html/sites/offerwatch/dbconfig.php(119): Crud->execute()
#2 /home/mehran10/public_html/sites/offerwatch/getNearBy.php(84): Crud->resultSet()
#3 {main}
thrown in /home/mehran10/public_html/sites/offerwatch/dbconfig.php on line 111