Hi,
The error message itself does unfortunately not point directly to whats going wrong.
But it seems like most people reporting this warning are using a third-party-plugin that doesn’t support the latest Matomo version properly.
e.g.
Can you check if disabling some third-party-plugins fixes this to pin it down to one specific one?