Error

We're sorry, but an unhandled error occurred. Please see the details below.

The active theme is not found.

/var/www/html/thbgc/modules/cms/classes/Controller.php line 122

     * If the theme is not specified, the current active theme used.
     */
    public function __construct($theme = null)
    {
        $this->theme = $theme ? $theme : Theme::getActiveTheme();
        if (!$this->theme) {
            throw new CmsException(Lang::get('cms::lang.theme.active.not_found'));
        }
 
        $this->assetPath = Config::get('cms.themesDir').'/'.$this->theme->getDirName();
        $this->router = new Router($this->theme);
        $this->initTwigEnvironment();
 

Stack trace

# Called Code Document Line
19 Cms\Classes\Controller->__construct()
18 ReflectionClass->newInstanceArgs() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Container/Container.php 539
17 Illuminate\Container\Container->build() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Container/Container.php 428
16 Illuminate\Container\Container->make() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 462
15 Illuminate\Foundation\Application->make() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 78
14 Illuminate\Routing\ControllerDispatcher->makeController() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 51
13 Illuminate\Routing\ControllerDispatcher->dispatch() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Routing/Router.php 962
12 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
11 call_user_func_array() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Routing/Route.php 109
10 Illuminate\Routing\Route->run() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Routing/Router.php 1028
9 Illuminate\Routing\Router->dispatchToRoute() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Routing/Router.php 996
8 Illuminate\Routing\Router->dispatch() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 775
7 Illuminate\Foundation\Application->dispatch() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 745
6 Illuminate\Foundation\Application->handle() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Session/Middleware.php 72
5 Illuminate\Session\Middleware->handle() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php 47
4 Illuminate\Cookie\Queue->handle() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php 51
3 Illuminate\Cookie\Guard->handle() http://thbgc.org/vendor/stack/builder/src/Stack/StackedHttpKernel.php 23
2 Stack\StackedHttpKernel->handle() http://thbgc.org/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 641
1 Illuminate\Foundation\Application->run() http://thbgc.org/index.php 40