A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/main.php

Line Number: 115

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/main.php

Line Number: 115

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/main.php

Line Number: 115

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$locationlat

Filename: controllers/main.php

Line Number: 116

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$locationlon

Filename: controllers/main.php

Line Number: 116

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/web9/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

Database Error

A Database Error Occurred

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/web9/public_html/models/location.php

Line Number: 108