Comments breaks contact

I’m having a problem with the comments plugin. It works as expected but once a comment has been added to a given post, the contact page stops working with the following error:
“Unable to add function “recent_comments” as extensions have already been initialized.”

Note that the contact page does not call the comments twig, which is only called in the blog item twig while the comments page uses the default twig.

For posterity…

When I posted I was imagining the problem to be with the comments plugin as I’ve had it cause the same error in other situations.

However it turns out to be the reCAPTCHA Contact plugin that’s buggy in this case.

Solution: In comments.yaml, disable the route associated with the contact page (i.e. /contact).