terminal42 / contao-easy_themes

Contao extension "easy_themes"
https://unmaintained.tech/
MIT License
13 stars 11 forks source link

Warning: Undefined global variable $TL_EASY_THEMES_MODULES only in Debug Mode #52

Closed mlwebworker closed 2 years ago

mlwebworker commented 2 years ago

Wenn ich den Debug Mode im Backend aktiviere bekomme ich folgenden Fehler im Backend:

ErrorException HTTP 500 Internal Server Error Warning: Undefined global variable $TL_EASY_THEMES_MODULES ExceptionLogs 1Stack Trace ErrorException in vendor/terminal42/contao-easy_themes/config/config.php (line 65) in vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php include (line 179) in vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php -> initialize (line 144) in vendor/contao/core-bundle/src/Framework/Adapter.php :: getInstance (line 44) in vendor/contao/core-bundle/src/Framework/ContaoFramework.php -> __call (line 301) in vendor/contao/core-bundle/src/Framework/ContaoFramework.php -> initializeFramework (line 158) in vendor/contao/core-bundle/src/Security/User/ContaoUserProvider.php -> initialize (line 69) in vendor/contao/core-bundle/src/Security/User/ContaoUserProvider.php -> loadUserByUsername (line 88) in vendor/symfony/security-http/Firewall/ContextListener.php -> refreshUser (line 236) in vendor/symfony/security-http/Firewall/ContextListener.php -> refreshUser (line 137) in vendor/symfony/security-bundle/Debug/WrappedLazyListener.php -> authenticate (line 49) in vendor/symfony/security-http/Firewall/AbstractListener.php -> authenticate (line 26) in vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php -> __invoke (line 73) in vendor/symfony/security-http/Firewall.php -> callListeners (line 92) in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> onKernelRequest (line 117) in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 230) in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 59) in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 154) in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 128) in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 74) in vendor/symfony/http-kernel/Kernel.php -> handle (line 202) Kernel->handle() in web/index.php (line 31) $loader = require __DIR__.'/../vendor/autoload.php';$request = Request::createFromGlobals();$kernel = ContaoKernel::fromRequest(\dirname(__DIR__), $request);$response = $kernel->handle($request);$response->send();if ($kernel instanceof TerminableInterface) { $kernel->terminate($request, $response);} PHP 8.1.0 Contao 4.12.4