{"action":"created","issue":{"url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues/issues/2362","repository_url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues","labels_url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues/issues/2362/labels{/name}","comments_url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues/issues/2362/comments","events_url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues/issues/2362/events","html_url":"https://github.com/PHPfox-Official/phpfox-v4-issues/issues/2362","id":351023672,"node_id":"MDU6SXNzdWUzNTEwMjM2NzI=","number":2362,"title":"Site stats not working correctly see photos this needs to be corrected","user":{"login":"spirogg","id":17736688,"node_id":"MDQ6VXNlcjE3NzM2Njg4","avatar_url":"https://avatars1.githubusercontent.com/u/17736688?v=4","gravatar_id":"","url":"https://api.github.com/users/spirogg","html_url":"https://github.com/spirogg","followers_url":"https://api.github.com/users/spirogg/followers","following_url":"https://api.github.com/users/spirogg/following{/other_user}","gists_url":"https://api.github.com/users/spirogg/gists{/gist_id}","starred_url":"https://api.github.com/users/spirogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spirogg/subscriptions","organizations_url":"https://api.github.com/users/spirogg/orgs","repos_url":"https://api.github.com/users/spirogg/repos","events_url":"https://api.github.com/users/spirogg/events{/privacy}","received_events_url":"https://api.github.com/users/spirogg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-16T01:30:54Z","updated_at":"2018-08-16T01:54:28Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n----------------------------------------\r\n\r\n## What happened?\r\n... i was commenting on my site adding photos blogs events etc.. then i deleted all so all i have is 2 users admin and registered user admin has no photos or profile photo, no comments no nothing added to site.\r\n\r\nregistered user only has a profile photo and covor photo\r\n\r\nbefore deleting things it was showing: \r\n\r\nSite Statistics\r\n1\r\nOnline Users\r\nAll Time\r\nBlogs:\r\n3\r\nComment on Items:\r\n450\r\nEvents:\r\n2\r\nComments on Profiles:\r\n6\r\nGroups:\r\n1\r\nMarketplace:\r\n1\r\nSongs:\r\n2\r\nPages:\r\n1\r\nPhotos:\r\n20\r\nPhoto Albums:\r\n8\r\nPolls:\r\n1\r\nQuizzes:\r\n1\r\nForum Threads:\r\n2\r\nForum Posts:\r\n4\r\nUsers:\r\n2\r\nStatus Updates:\r\n18\r\n\r\n\r\nnow its showing:\r\n\r\n\r\nSite Statistics\r\n1\r\nOnline Users\r\nAll Time\r\nComment on Items:\r\n322\r\nComments on Profiles:\r\n6\r\nPhotos:\r\n6\r\nPhoto Albums:\r\n4\r\nUsers:\r\n2\r\nStatus Updates:\r\n18\r\n\r\n## Steps to reproduce:\r\n1. add comments photos groups pages music then delete feeds comment etc delete all things from the site\r\n2. clear cache \r\n3. wrong stats for website and in admincp area\r\n\r\n## What is expected?\r\n... all stats should be 0 except for cover photo and profile photo \r\n\r\n## Browsers and Devices tested\r\n(Example: Chrome on iPhone X, Safari on Macbook, Miscrosoft Edge on Windown 10, Firefox on Ubuntu 16.04, ...)\r\n\r\n## Server information\r\n(Example: CentOS 7, php 7.1 apache)\r\n\r\n...\r\n\r\n## phpFox version\r\n(Example: phpFox 4.6.0)\r\n4.6.1.b5\r\n...\r\n\r\n## Screenshots\r\n...\r\n![capture](https://user-images.githubusercontent.com/17736688/44181899-0c992080-a0ca-11e8-947b-d5da6ab96e8c.JPG)\r\n![capture1](https://user-images.githubusercontent.com/17736688/44181901-0c992080-a0ca-11e8-8e40-637e7df861e7.JPG)\r\n"},"comment":{"url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues/issues/comments/413397475","html_url":"https://github.com/PHPfox-Official/phpfox-v4-issues/issues/2362#issuecomment-413397475","issue_url":"https://api.github.com/repos/PHPfox-Official/phpfox-v4-issues/issues/2362","id":413397475,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzM5NzQ3NQ==","user":{"login":"spirogg","id":17736688,"node_id":"MDQ6VXNlcjE3NzM2Njg4","avatar_url":"https://avatars1.githubusercontent.com/u/17736688?v=4","gravatar_id":"","url":"https://api.github.com/users/spirogg","html_url":"https://github.com/spirogg","followers_url":"https://api.github.com/users/spirogg/followers","following_url":"https://api.github.com/users/spirogg/following{/other_user}","gists_url":"https://api.github.com/users/spirogg/gists{/gist_id}","starred_url":"https://api.github.com/users/spirogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spirogg/subscriptions","organizations_url":"https://api.github.com/users/spirogg/orgs","repos_url":"https://api.github.com/users/spirogg/repos","events_url":"https://api.github.com/users/spirogg/events{/privacy}","received_events_url":"https://api.github.com/users/spirogg/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T01:54:28Z","updated_at":"2018-08-16T01:54:28Z","author_association":"NONE","body":"I've cleared Cache\r\n Reparser\r\nRemove files no longer used\r\nCounters\r\nRebuild Core theme\r\nClear all Cache\r\n\r\nStill issue, I do not use anything cache except for file cache"}}
{"actor":{"display_login":"spirogg"}}