0 Call to a member function getParams() on null