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: 1583

Incorrect parameters in the call to native function 'RADIANS'

SELECT *,(6371 * ACOS( SIN(RADIANS(lat)) * SIN(RADIANS(Poliforum)) + COS(RADIANS(lng - Zona piel)) * COS(RADIANS(lat)) * COS(RADIANS(Poliforum)) ) ) AS distance FROM place WHERE id_data != 256 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