Add error handling for DFMDataForWP class in case it does not exist