Changed array passed to setParams for error controller to non hash