The patch appears to be intended for IPM 4.1, part of LMS 3.1. So the error might simply be an indirect indication that it cannot be applied to your IPM 4.0.
how can i upgrade my Lms to 3.1 from 3.0 & the corresponding IPM from 4.0 to 4.1
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: