The '%{func/}' function expects a table reference expression for argument '%d{arg/}', but a string or numeric expression ...