Fixed error when PMPro is deactivated.