Thanks for the clarification that this worked fine before the update. I have an idea now of what’s breaking the function, and I apologize for not completely testing that function.
Right now, I’m planning on releasing a bug fix this weekend at the latest with any bugs that have cropped up since release. I will make sure this is fixed for that release, and if I have any trouble reproducing the issue, I’ll respond back here.
For now, I believe the issue is related to a variable not being set. By setting $_POST[‘token’] to the token found in your database, it should solve the issue if you’re looking for a temporary workaround.
For the future, I do have a much better stat system planned that will make getting stats like page visits and other API data a breeze with themes. The system is prototyped out; it’s just a matter of finding time to code it. When I do get around to writing the code, would you be interested in helping beta test the new system?