string(47) "Call to a member function getProtocol() on null"