I finally managed to fix this problem, which was driving me mad. Clearing caches of Google apps and services helped for a while, but the error message inevitably returned. I have not seen it for over 2 days since clearing the cache of Google Play Store in Taskmanager, then clearing the data...