[BUG] in Va Stats

Good Evening

After Update to the new Version i become an Bug

Bevore we have made the update we have flown 3 Flight after the update we have flown 16990 Flight. Thats not correct

Total Flights: 16999

Total Hours Flown: 2.25

Total Flights Today: 0

Total Cargoschedules: 1

Total Aircraft In Fleet: 2

Total Fuel Burned: 1448

Miles Flown: 360

All News: 3

Please check this i dont know where come from the data

Thanks

Update

We have made 1 Testflight and now show us we have made 2118??? Nabeel please check this.

This is a known bug in BETA. It’ll get fixed once I hvae time. Also, this belongs in the beta forum, in the thread for that version, not here in support

Remember guys these releases are Beta’s not for general usage and thing sometimes wont work.

If you want a stable version then roll back to a general release.

As Mark said, these are just BETA (use only if you want to) updates. If an important update is available, you will be given a message in the Admin Center.

Hi pilot,

delete the line 514 in the StatsData.class.php

The whole should look like this:

public static function TotalFlights($airline_code = '') {

       return self::getTotalForCol(array(
           'table' => 'pireps',
           'column' => 'load',
           'airline_code' => $airline_code,
           'where' => array('accepted' => PIREP_ACCEPTED),
           )
       );

   }

delete also:

‘func’ => ‘SUM’,

Joe