Error: Call to undefined method Error::get(): Call to a member function setAdditionalUrlParam() on null