You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code causes FatalError: $logger->info('Adding a new user', array('0' => 'Test'));
this doesn't: $logger->info('Adding a new user', array('a' => 'Test'));
for logger handler BrowserConsoleHandler.
The text was updated successfully, but these errors were encountered:
szaqal83
changed the title
Adding extra data in the records where array keys are not strings causes FatalError
Adding extra data in the records causes FatalError
Sep 2, 2019
Fatal error: Uncaught TypeError: Argument 1 passed to Monolog\Handler\BrowserConsoleHandler::quote() must be of the type string, int given, called in /var/www/html/test/ad/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php on line 220 and defined in /var/www/html/test/ad/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php:226 Stack trace: #0 /var/www/html/test/ad/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php(220): Monolog\Handler\BrowserConsoleHandler::quote(0) #1 /var/www/html/test/ad/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php(149): Monolog\Handler\BrowserConsoleHandler::dump('Context', Array) #2 /var/www/html/test/ad/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php(70): Monolog\Handler\BrowserConsoleHandler::generateScript() #3 [internal function]: Monolog\Handler\BrowserConsoleHandler::send() #4 {main} thrown in /var/www/html/test/ad/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php on line 226
This code causes FatalError:
$logger->info('Adding a new user', array('0' => 'Test'));
this doesn't:
$logger->info('Adding a new user', array('a' => 'Test'));
for logger handler BrowserConsoleHandler.
The text was updated successfully, but these errors were encountered: