Db error: Incorrect parameter count in the call to native function 'RADIANS'
Error code: 1582
Query: SELECT med_clinics.ID,med_clinics.Name,med_clinics.NameFull,med_clinics.NameJur,med_clinics.Code,med_clinics.Image,med_clinics.PriceSegment,med_clinics.Payment,med_clinics.AddType,med_clinics.NetID,med_clinics.Text,med_clinics.FoundYear,med_clinics.ImageFacade,med_clinics.ImageCard,med_clinics.Domain,med_clinics.DistrictID,med_clinics.AreaID,med_clinics.TownID,med_clinics.StreetID,med_clinics.AddressID,med_clinics.Open24,med_clinics.WorkingHoursComment,med_clinics.Phone,med_clinics.Mail,med_clinics.Site,med_clinics.Vkontakte,med_clinics.Facebook,med_clinics.Instagram,med_clinics.Youtube,med_clinics.IsClosed,med_clinics.IsVerified,med_clinics.NewID,med_clinics.SortIndex,med_clinics.Hide,med_clinics.Main,med_clinics.Premium,med_clinics.H,med_clinics.Title,med_clinics.Keywords,med_clinics.Description,med_clinics.NoIndex,med_clinics.UserID,med_clinics.Created,med_clinics.ModifiedBy,med_clinics.ModifiedDate,med_clinics.SourceUrl,med_clinics.IsPaidZoon,med_clinics.TopdentOldUrl,med_clinics.NumReviews,med_clinics.Rating,med_clinics.ChildrenRoom,med_clinics.Parking,med_clinics.Wifi,med_clinics.FreeConsultation,med_clinics.Safety,med_clinics.ForDisabled,med_clinics.TopdentRuID,med_clinics.ChiefID,med_clinics.FixRating,med_clinics.Domain2,med_clinics.IsClinicSite,med_clinics.CustomJS,med_clinics.CustomPhone,med_clinics.CustomH,med_clinics.CustomTitle,med_clinics.CustomDescription,med_clinics.ComagicGroupID,med_clinics.PremodStatus,111.1111 *
DEGREES(ACOS(LEAST(1.0, COS(RADIANS())
* COS(RADIANS(b.Lat))
* COS(RADIANS() - RADIANS(b.Lon))
+ SIN(RADIANS())
* SIN(RADIANS(b.Lat))))) AS distance_in_km FROM med_clinics INNER JOIN locations_addresses AS b ON b.ID = med_clinics.AddressID WHERE med_clinics.ID != 3642 AND b.Lat > 0 AND b.Lon > 0 AND (med_clinics.Domain = 376 OR med_clinics.Domain2 = 376) AND med_clinics.Hide = ? HAVING distance_in_km <= 1.5 ORDER BY med_clinics.Premium DESC, distance_in_km ASC LIMIT 12