My provider changed server. After loging in to admin I get 'updating stat chache', this process can take a few seconds... well, it takes forever

What to do?
Ok, today all seems to work well. However, the daily statistics are gone. Is that something fixable? The overall statistics still look available.
Well actually the reason is that WebStat does not work under PHP 8.1.... (yet?)