disable error_reporting in error controler json encoding