Error Processing Expense Report - V 7.0.3

When attempting to re-submit a rejected expense report, there is a PHP error generated. A blank email is sent (notifying approver of resubmission) but does not include any link or text.


Warning: sprintf(): Too few arguments in /home/omegaomega/public_html/dolibarr/core/class/translate.class.php on line 700

Warning: Cannot modify header information - headers already sent by (output started at /home/omegaomega/public_html/dolibarr/core/class/translate.class.php:700) in /home/omegaomega/public_html/dolibarr/expensereport/card.php on line 514


Log File Text:
2018-07-19 00:44:40 INFO 67.168.218.221 fetch_name_optionals_label elementtype=user
2018-07-19 00:44:40 DEBUG 67.168.218.221 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,fielddefault,fieldcomputed,entity FROM llxhu_extrafields WHERE entity IN (0,1) AND elementtype = ‘user’ ORDER BY pos
2018-07-19 00:44:40 WARNING 67.168.218.221 Warning: fetch_optionals was called with param optionsArray defined when you should pass null now
2018-07-19 00:44:40 DEBUG 67.168.218.221 CMailFile::CMailfile: sendmode=swiftmailer charset=UTF-8 from=arthur@omegaomega.net, to=arthur@omegaomega.net, addr_cc=, addr_bcc=, errors_to=, trackid= sendcontext=standard
2018-07-19 00:44:40 DEBUG 67.168.218.221 CMailFile::CMailfile: subject=An expense report has been submitted for re-approval, deliveryreceipt=0, msgishtml=0
2018-07-19 00:44:40 INFO 67.168.218.221 CMailFile::CMailfile: Try to send an email with empty body
2018-07-19 00:44:46 INFO 67.168.218.221 — End access to /dolibarr/expensereport/card.php