City of York Council has announced the closure of a riverside path due to "structural damage".