ok, i did now the following:
I think also, there must be something went wrong in one of the past updates...
Unfortunetly I do not remember with which version I've started with photopost.
Actualy I'm updating from 4.7 to 4.8c.
After running the scripts above everything looks smoth except the thing in the admin panel "statistics".