SystemException: O tema activo não foi definido. in /Users/heliofelix/projects/quizthai/quizmanager/modules/cms/classes/Theme.php:184
Stack trace:
#0 /Users/heliofelix/projects/quizthai/quizmanager/modules/cms/classes/ThemeManager.php(86): Cms\Classes\Theme::getActiveThemeCode()
#1 /Users/heliofelix/projects/quizthai/quizmanager/modules/cms/classes/ThemeManager.php(45): Cms\Classes\ThemeManager->getActiveTheme()
#2 /Users/heliofelix/projects/quizthai/quizmanager/modules/cms/ServiceProvider.php(138): Cms\Classes\ThemeManager->bootAllFrontend()
#3 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php(1285): Cms\ServiceProvider->Cms\{closure}(Object(October\Rain\Translation\Translator), Object(October\Rain\Foundation\Application))
#4 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php(1250): Illuminate\Container\Container->fireCallbackArray(Object(October\Rain\Translation\Translator), Array)
#5 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php(1235): Illuminate\Container\Container->fireAfterResolvingCallbacks('translator', Object(October\Rain\Translation\Translator))
#6 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php(794): Illuminate\Container\Container->fireResolvingCallbacks('translator', Object(October\Rain\Translation\Translator))
#7 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(860): Illuminate\Container\Container->resolve('translator', Array, true)
#8 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php(710): Illuminate\Foundation\Application->resolve('translator', Array)
#9 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(845): Illuminate\Container\Container->make('translator', Array)
#10 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php(1437): Illuminate\Foundation\Application->make('translator')
#11 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1298): Illuminate\Container\Container->offsetGet('translator')
#12 /Users/heliofelix/projects/quizthai/quizmanager/vendor/october/rain/src/Foundation/Application.php(307): Illuminate\Foundation\Application->setLocale('pt-pt')
#13 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): October\Rain\Foundation\Application->setLocale('pt-pt')
#14 /Users/heliofelix/projects/quizthai/quizmanager/modules/system/classes/sitemanager/HasActiveSite.php(82): Illuminate\Support\Facades\Facade::__callStatic('setLocale', Array)
#15 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): System\Classes\SiteManager->applyActiveSite(Object(System\Models\SiteDefinition))
#16 /Users/heliofelix/projects/quizthai/quizmanager/modules/cms/classes/CmsController.php(80): Illuminate\Support\Facades\Facade::__callStatic('applyActiveSite', Array)
#17 /Users/heliofelix/projects/quizthai/quizmanager/modules/cms/classes/CmsController.php(55): Cms\Classes\CmsController->findSite('quizmanager.tes...', '/')
#18 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Cms\Classes\CmsController->run('/')
#19 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction('run', Array)
#20 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Cms\Classes\CmsController), 'run')
#21 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#22 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()
#23 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#24 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#26 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#27 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#28 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#29 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#30 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#36 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#37 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#38 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#39 /Users/heliofelix/projects/quizthai/quizmanager/vendor/october/rain/src/Router/CoreRouter.php(32): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#40 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#41 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#42 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#43 /Users/heliofelix/projects/quizthai/quizmanager/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(23): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#44 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#47 /Users/heliofelix/projects/quizthai/quizmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#48 /Users/heliofelix/projects/quizthai/quizmanager/index.php(43): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#49 /Users/heliofelix/.composer/vendor/laravel/valet/server.php(234): require('/Users/heliofel...')
#50 {main}