by Ryan Chan.
I upgraded Moodle from 3.0.3+ to 3.2.3. When I restore a course from a backup file and include the enrolled users, the error "forum_user_enrolled() cannot be used any more" occurred and can't restore the course. The error screenshot is attached. Please help.