I probably did something to cause this. When I started entering things in January, I was doing everything wrong, and I had to restore from backups more than once.
In reading the audit_trail PHP script, it appears that it would be an error for there to be any gl_trans records with non-zero amounts that don't have a corresponding audit_trail record. Running reports manually in MySQL, I find 4 gl_trans records that do not have a matching audit_trail record.
The first two are type=0; the credit/debit for the opening balance of a bank account (I just put the opening balance in as a deposit on January 1, rather than putting it in for the previous fiscal year, then closing that fiscal year ... I didn't know how to do that, back then).
The next two appear to be from a line item on an invoice (type=10).
Do I need to fix something, or is this just going to post an informational message when I close this fiscal year? All of the general ledger entries are correct and everything balances.
+---------+------+---------+------------+---------+-----------------+----------+--------------+---------------+----------------+-----------+
| counter | type | type_no | tran_date | account | memo_ | amount | dimension_id | dimension2_id | person_type_id | person_id |
+---------+------+---------+------------+---------+-----------------+----------+--------------+---------------+----------------+-----------+
| 32 | 0 | 3 | 2018-01-01 | 1060 | Opening balance | 4495.54 | 0 | 0 | NULL | NULL |
| 33 | 0 | 3 | 2018-01-01 | 3590 | Opening balance | -4495.54 | 0 | 0 | NULL | NULL |
| 46 | 10 | 7 | 2018-01-09 | 4012 | | -48 | 0 | 0 | NULL | NULL |
| 47 | 10 | 7 | 2018-01-09 | 1200 | | 48 | 0 | 0 | 2 | 3 |
+---------+------+---------+------------+---------+-----------------+----------+--------------+---------------+----------------+-----------+