since we upgraded from latest 3.x Version to 4.x Version we get those Errors on all of our Web-Pages:
The method requireCookieConsent is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers matomo.js:12:287
The method setTrackerUrl is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers matomo.js:12:287
The method setSiteId is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers matomo.js:12:287
The method enableLinkTracking is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers matomo.js:12:287
Completely unrelated, but your klaro_config.js.php?lang=de returns Javascript with a text/html mime type which might create some issues if you don’t fix it.
I think Klaro (or your integration of it) is at fault.
https://kiprotect.com/docs/klaro/getting-started explains that you should add data-name="matomo" to the Matomo script tag so that Klaro knows it is Matomo (and probably executes it), but it also says you should set it to type="text/plain" so that the browser doesn’t execute it.
As you didn’t do the latter, your Matomo tracking code gets executed by the browser and afterwards by klaro.