Topic: undefined variable: _SESSION
Whenever I post a payment against an invoice, I get the following error alert:
undefined variable: _SESSION in file: sales/customer_payments.php at line 266
Trying to get property of non-object in file: sales/customer_payments.php at line 266
This flashes by very quickly at the top of my screen (I had to do a video capture of the screen to read it) and does not seem to affect the payment.
Line 266 of customer_payments.php is:
meta_forward($_SERVER['PHP_SELF'], !$_SESSION['alloc']->trans_no ? "AddedID=$payment_no" : "UpdatedID=$payment_no");
What can I do to correct this?
Frontaccounting version 2.3.15