Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/d3004/public_html/postcode/include/postcode_class.php on line 795
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/d3004/public_html/postcode/include/postcode_class.php on line 795
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/d3004/public_html/postcode/include/postcode_class.php on line 151
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/d3004/public_html/postcode/include/postcode_class.php on line 156
Postcode Not Found
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '), 2) +
POW(69.1 * ( - `longitude`) * COS(`Latitude` / 57.3), 2)) AS `dis...' at line 2 in /home/d3004/public_html/postcode/index.php:301
Stack trace:
#0 /home/d3004/public_html/postcode/index.php(301): PDOStatement->execute()
#1 {main}
thrown in /home/d3004/public_html/postcode/index.php on line 301