A Database Error Occurred

Error Number: 1582

Incorrect parameter count in the call to native function 'radians'

SELECT *, (SELECT COUNT(*) FROM jobs_log WHERE jl_job_id = j_id AND jl_staff_id = -1 AND jl_action = "Viewed") AS `viewed`, (SELECT COUNT(*) FROM jobs_log WHERE jl_job_id = j_id AND jl_staff_id = -1 AND jl_action = "Application Sent") AS `applied`, round( 6371 * acos( cos( radians() ) * cos( radians( r_lat ) ) * cos( radians( r_lon ) - radians() ) + sin( radians() ) * sin( radians( r_lat ) ) ) ) * 1.5 AS `distance` FROM `active_jobs` HAVING `distance` < 200 ORDER BY `distance`, `j_date_posted` DESC LIMIT 100

Filename: models/Job_model.php

Line Number: 453