useLegacyError=TRUE in StripCPE following #5581