diff --git a/libraries/src/Log/Log.php b/libraries/src/Log/Log.php index b8027d0904f32..8d00d7e1b60cf 100644 --- a/libraries/src/Log/Log.php +++ b/libraries/src/Log/Log.php @@ -384,7 +384,7 @@ protected function findLoggers($priority, $category) // Sanitize inputs. $priority = (int) $priority; - $category = strtolower($category); + $category = strtolower((string) $category); // Let's go iterate over the loggers and get all the ones we need. foreach ((array) $this->lookup as $signature => $rules)