My VA has 7 pilots but in the stats it says there are 8
I have checked admin panel and the phpmyadmin database but can’t find where it’s getting the other pilot from
My VA has 7 pilots but in the stats it says there are 8
I have checked admin panel and the phpmyadmin database but can’t find where it’s getting the other pilot from
In the statistics part, what is the script that is calculating your total pilots? What does your admin center indicate? 7 or 8?
<td><span class=“counter”><?php echo count(PilotGroups::getUsersInGroup(‘2’)); ?></span>
The Admin centre shows 7 pilots
9 hours ago, mattsmith said:
<td><span class=“counter”><?php echo count(PilotGroups::getUsersInGroup(‘2’)); ?></span>
The Admin centre shows 7 pilots
User group 2 is active pilots. You have one pilot who is not active.
I do not think that this is the issue. His main page shows 8 while in reality his virtual airline has 7 pilots. I would suggest checking the phpvms_groupmembers database table because it seems that you deleted a pilot but the pilot’s entry in the phpvms_groupmembers table was not removed.
Fixed it. For some reason one of the pilots was showing in the active pilots group twice.