Please follow the below template, it will help us to help you!
I expect the statistics on the home page, such as the total and blocked queries, not to reset at random moments.
You can do anything, close the Pi-Hole interface, press some random buttons, do exactly the same as you did the previous time it happens, but sometimes, all the stats just change back to zero’s. Like there’s nothing in the log. The log itself doesn’t clear at all, all the requests are still inside the logs.