My Revive installation stopped counting stats all of a sudden the other day. The reason was quite simple, one of the Mysql tables (<prefix>_data_intermediate_ad) was broken (and the var/debug.log grows quite fast). Here's how to fix, in case someone else runs into the same issue: mysqlcheck -uroot -p <revive_database> --repair