Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("Parameter "collection" for route "collection_profiles" must match "[^/]++" ("generic/mongocursor-maxtimems-001" given) to generate a corresponding URL.") in "_collections.html.twig" at line 2.
In this case, a collection name had
/
in it.