Internal Database Error
More information has been reported in the error logs at LedgerSMB.pm line 776.
dbversion: 1.4.9,
DBI Trace contains several:
QUERY: SELECT t_roll_forward IS NULL
OR array_upper(in_business_units) > 0
CONTEXT: PL/pgSQL function trial_balance__generate(date,date,integer,integer[],text,integer[],integer) line 45 at IF" (err#0)
<- errstr= ( "ERROR: function array_upper(integer[]) does not exist
LINE 2: OR array_upper(in_business_units) > 0
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
type errors
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I can confirm the same result in my production, with current code.
Error logged:
DBD::Pg::st execute failed: ERROR: function array_upper(integer[]) does not exist
I am also getting this result.
Internal Database Error
More information has been reported in the error logs at LedgerSMB.pm line 776.
dbversion: 1.4.9,
DBI Trace contains several:
QUERY: SELECT t_roll_forward IS NULL
OR array_upper(in_business_units) > 0
CONTEXT: PL/pgSQL function trial_balance__generate(date,date,integer,integer[],text,integer[],integer) line 45 at IF" (err#0)
<- errstr= ( "ERROR: function array_upper(integer[]) does not exist
LINE 2: OR array_upper(in_business_units) > 0
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
type errors
Fixed by https://github.com/ledgersmb/LedgerSMB/pull/611
This was reported through another channel and fixed for 1.4.10 first. 1.4.10 has a fix for this issue.