Fixing a bug where the error_reporting option migration wasn't working properly.