Severity: Notice
Message: Trying to get property 'locationlat' of non-object
Filename: controllers/main.php
Line Number: 77
Severity: Notice
Message: Trying to get property 'locationlon' of non-object
Filename: controllers/main.php
Line Number: 77
Severity: Warning
Message: Creating default object from empty value
Filename: controllers/main.php
Line Number: 77
Severity: Notice
Message: Undefined property: stdClass::$locationlat
Filename: controllers/main.php
Line Number: 78
Severity: Notice
Message: Undefined property: stdClass::$locationlon
Filename: controllers/main.php
Line Number: 78
Error Number: 1582
Incorrect parameter count in the call to native function 'radians'
SELECT *, ( 6373 * acos( cos( radians( ) ) * cos( radians( `locationlat` ) ) * cos( radians( `locationlon` ) - radians( ) ) + sin(radians()) * sin(radians(`locationlat`)) ) ) `distance` FROM `tbl_locations` HAVING `distance` < 100 AND `distance` <> 0 ORDER BY `distance` LIMIT 30
Filename: /home/web10/public_html/models/location.php
Line Number: 85