#16002Call to undefined function: char()
Description
when $TYPO3_CONF_VARS[‘SYS’][‘systemLog’] is set to file the following error occured in t3lib/class.t3lib_div.php on line 4334:
Call to undefined function: char()
set $TYPO3_CONF_VARS[‘SYS’][‘systemLog’] to file in localconf.php.
e.g.
$TYPO3_CONF_VARS[‘SYS’][‘systemLog’] = ‘file,/home/httpd/vhosts/fileadmin/logs/sys.log’;
in t3lib/class.t3lib_div.php the line line 4334 should change from
fwrite($file, date(‘d/m/Y i:H’).$msgLine.char(10));
to
fwrite($file, date(‘d/m/Y i:H’).$msgLine.chr(10));
(issue imported from #M3174)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.