Are you sure that statistics processing has been enabled? See https://docs.moodle.org/en/Statistics
General developer forum
Website statistics
This discussion has been locked so you can no longer reply to it.