Hi @christer_f,
>> I’m on a self-hosted version of Matomo
I understand this: you are not using the Matomo for WordPress plugin
In that case, the most reliable update strategy is to use the manual (3 step) update process.
https://matomo.org/faq/on-premise/update-matomo/
And optional:
https://matomo.org/faq/on-premise/what-are-the-important-checks-needs-to-be-done-post-deployment-of-matomo/
Please let us know if my understanding is incorrect.
after digging through lots of blogs in the web, I found the hint, that the WordPress Plugin “Podlove Podcast” gets in conflict with motamo. After disabling it, the error disappeared.