How to fix the «More than one node matching the query: /config/type» failure

The cause of the failure is a syntax error in a XML file.
Please compare the source code of your site with the original source code from Magento distributive or GitHub.