When we go to Courses and edit a course, it returns a front

When we go to Courses and edit a course, it returns a front end 404 error most of the time.