A PHP Error was encountered

Severity: Warning

Message: deg2rad() expects parameter 1 to be double, string given

Filename: controllers/home.php

Line Number: 3406

A PHP Error was encountered

Severity: Warning

Message: deg2rad() expects parameter 1 to be double, string given

Filename: controllers/home.php

Line Number: 3407

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ocvleon/public_html/leon-mexico.com/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 437

Database Error

A Database Error Occurred

Error Number: 1054

Unknown column 'Centro' in 'field list'

SELECT *,(6371 * ACOS( SIN(RADIANS(lat)) * SIN(RADIANS(Centro)) + COS(RADIANS(lng - Centro)) * COS(RADIANS(lat)) * COS(RADIANS(Centro)) ) ) AS distance FROM place WHERE id_data != 255 AND `group` != 5 HAVING distance < 2 ORDER BY distance ASC LIMIT 7

Filename: /home/ocvleon/public_html/leon-mexico.com/controllers/home.php

Line Number: 3323