Error 500

Call to a member function addSecureHeaders() on null