Sometimes the latest visitors stats are not displayed in the cpanel, to resolve the issue, use the following steps.
Try to change WHM –> Tweak Settings –> “Delete each domain’s access logs after stats run” from ON to OFF.
Or
It’s possible that the latest visitors cache is corrupted for this account.
Iss the below command inside the server to move the existing cache out of the way so it can be regenerated:
# mv /home/username/.cpanel/nvdata/latest_visitors /home/username/.cpanel/nvdata/latest_visitors_old
Replace “username” with the username of the account.