Problem/Motivation
Hello, I updated my version of drupal to version 10.2.2 and started seeing the following errors:
Warning: Undefined array key "stack" in Drupal\jsnlog\Controller\AjaxLogController->parseMsg() (line 108 of modules/contrib/jsnlog/src/Controller/AjaxLogController.php).
Drupal\jsnlog\Controller\AjaxLogController->parseMsg('{"@msg":"Uncaught Exception","@errorMsg":"Uncaught JSNLog test exception","@url":"https://example.com/sites/default/files/js/js_43pLmBKo4Z4n9nFSkNcICRfXWg...","@line_number":60,"@column":1646,"@href":"https://example.com/admin/config/development/jsnlog","@windowWidth":1879,"@windowHeight":931,"@windowPositionX":0,"@windowPositionY":1853}') (Line: 81)
Drupal\jsnlog\Controller\AjaxLogController->processPayload() (Line: 59)
Drupal\jsnlog\Controller\AjaxLogController->log(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\jsnlog\Controller\AjaxLogController->parseMsg() (line 108 of modules/contrib/jsnlog/src/Controller/AjaxLogController.php).
Drupal\jsnlog\Controller\AjaxLogController->parseMsg('{"@msg":"Uncaught Exception","@errorMsg":"Uncaught JSNLog test exception","@url":"https://example.com/sites/default/files/js/js_43pLmBKo4Z4n9nFSkNcICRfXWg...","@line_number":60,"@column":1646,"@href":"https://example.com/admin/config/development/jsnlog","@windowWidth":1879,"@windowHeight":931,"@windowPositionX":0,"@windowPositionY":1853}') (Line: 81)
Drupal\jsnlog\Controller\AjaxLogController->processPayload() (Line: 59)
Drupal\jsnlog\Controller\AjaxLogController->log(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)