New month Finances error

Hi Nebeel,

I get the following error on the finances for this month, also i notice that the expenses are blank.

I am not on the current beta not sure if this has been fixed, im on 2.1.910

56 is this bit of code in bold,

<?php

}

$type = Config::Get(‘EXPENSE_TYPES’);

foreach($month_data->expenses as $expense)

{

?>

Image below,

Nabeel,

I have manually reset pirep finances from with in the admin and that has resolved it. Not sure what caused that. Im suspecting it has something to do with the accepting the pireps automatically, not sure…

Do you have any expenses?

Edit Yes this is fixed in latest beta(914)