mirror of
https://github.com/friendica/friendica
synced 2024-11-13 15:53:43 +01:00
Fix fatal error when using Logger::devLog
- Error message is "Call to a member function log() on null in src/Core/Logger.php:304"
This commit is contained in:
parent
7b91c26c31
commit
579d42a215
|
@ -31,6 +31,7 @@ class DependencyFactory
|
|||
// needed to call PConfig::init()
|
||||
Factory\ConfigFactory::createPConfig($configCache);
|
||||
$logger = Factory\LoggerFactory::create($channel, $config);
|
||||
Factory\LoggerFactory::createDev($channel, $config);
|
||||
|
||||
return new App($basePath, $config, $logger, $profiler, $isBackend);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue