Actions
Bug #61123
closedBELog module error: "vsprintf(): Too few arguments" the second
Start date:
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I get many Errors of the following in the Backend:
Core: Error handler (BE): PHP Warning: vsprintf(): Too few arguments in /var/www/sites/muehlhof.ch/httpdocs/cms/typo3_src-6.2.4/typo3/sysext/belog/Classes/ViewHelpers/FormatDetailsViewHelper.php line 44
I found #46077 which reported similar errors and has been fixed by patching AbstractExceptionHandler.php
I found a similar line in ErrorHandler.php and by applying the following patch, the errors in the backend disappeared:
--- typo3/sysext/core/Classes/Error/ErrorHandler.php.orig 2014-08-21 17:01:38.173769303 +0200 +++ typo3/sysext/core/Classes/Error/ErrorHandler.php 2014-08-21 16:56:29.819744574 +0200 @@ -182,7 +182,7 @@ 'action' => 0, 'error' => $severity, 'details_nr' => 0, - 'details' => $logMessage, + 'details' => str_replace('%', '%%', $logMessage), 'IP' => GeneralUtility::getIndpEnv('REMOTE_ADDR'), 'tstamp' => $GLOBALS['EXEC_TIME'], 'workspace' => $workspace
I'm not that familiar with the typo3-backend so I don't know the exact cause of these errors and wheater this is an appropriate fix for them.
Actions