Councils do have people whose job it is to inspect pavements, etc., and there are (I think) various standards which are set, defining if a defect is a dangerous defect. What are affectionately known as 'trippers and slippers' are big business. Just ask any of those firms that advertise on day-time TV ("Have you had an accident that wasn't your fault?, etc.,).