Total flights today not showing up

Hi guys, im having trouble displaying todays flights or flights today this is the code that im using am i missing something somewhere? All the other stats populate except for Total Flights Today.

Total Flights Today: <?php echo StatsData::totalflightstoday(); ?><br />

If you do:

Total Flights Today: <?php echo StatsData::totalflightstoday(); DB::debug(); ?><br />

Does it show any errors when you view the page?

Just ran that and no errors what so ever, still stayed as 0

Anybody any ideas on this one?

I have no error output what so ever, does any one else have the Total Flights Today working on their site? Any help would be appreciated.

I have same problem with Total Hours Flown and Total Flights Today.

I have same problem with Total Hours Flown and Total Flights Today.

My Total hours flown is OK, its just my flights today, maybe ill have a poke in the db see whats going on.

I have just added some extra stuff like aircraft in fleet and total pax, all that is working OK, one thing i did notice was the uppercase letters,I have this,

Total Flights Today: <?php echo StatsData::totalflightstoday(); ?><br />

but in the stats data class its defines as StatsData::TotalFlightsToday();

So i have changed it to that but still no error or output, maybe it will update when another pirep is accepted…

I have same problem with Total Hours Flown and Total Flights Today.

Do a search on the TOTAL_HOURS bug, you have to add an entry into the settings table. It’s missing for some odd reason