Error

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

Class "Twig\Environment" not found

/home/drsarigc/public_html/modules/system/classes/MarkupManager.php line 66

        }
 
        $options = array_merge([
            'auto_reload' => true,
        ], $options);
 
        $twig = new TwigEnvironment($loader, $options);
        $twig->addExtension(new SystemTwigExtension);
        $twig->addExtension(new SandboxExtension(new TwigSecurityPolicy, true));
        return $twig;
    }
 
    /**

Stack trace

# Called Code Document Line
54 System\Classes\MarkupManager::makeBaseTwigEnvironment() ~/modules/cms/ServiceProvider.php 124
53 Cms\ServiceProvider->Cms\{closure}() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 885
52 Illuminate\Container\Container->build() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 770
51 Illuminate\Container\Container->resolve() ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 856
50 Illuminate\Foundation\Application->resolve() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 706
49 Illuminate\Container\Container->make() ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 841
48 Illuminate\Foundation\Application->make() ~/vendor/winter/storm/src/Foundation/Application.php 304
47 Winter\Storm\Foundation\Application->make() ~/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php 338
46 Illuminate\Support\Facades\Facade::__callStatic() ~/modules/cms/classes/Controller.php 589
45 Cms\Classes\Controller->initTwigEnvironment() ~/modules/cms/classes/Controller.php 121
44 Cms\Classes\Controller->__construct()
43 ReflectionClass->newInstanceArgs() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 929
42 Illuminate\Container\Container->build() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 770
41 Illuminate\Container\Container->resolve() ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 856
40 Illuminate\Foundation\Application->resolve() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 706
39 Illuminate\Container\Container->make() ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 841
38 Illuminate\Foundation\Application->make() ~/vendor/winter/storm/src/Foundation/Application.php 304
37 Winter\Storm\Foundation\Application->make() ~/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php 338
36 Illuminate\Support\Facades\Facade::__callStatic() ~/modules/cms/classes/CmsController.php 41
35 Cms\Classes\CmsController->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 54
34 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 43
33 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 259
32 Illuminate\Routing\Route->runController() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 205
31 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 798
30 Illuminate\Routing\Router->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 141
29 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php 50
28 Illuminate\Routing\Middleware\SubstituteBindings->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
27 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
26 Illuminate\View\Middleware\ShareErrorsFromSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
25 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 121
24 Illuminate\Session\Middleware\StartSession->handleStatefulRequest() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 64
23 Illuminate\Session\Middleware\StartSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
22 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
21 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
20 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 67
19 Illuminate\Cookie\Middleware\EncryptCookies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
18 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 116
17 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 797
16 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 776
15 Illuminate\Routing\Router->runRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 740
14 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/winter/storm/src/Router/CoreRouter.php 20
13 Winter\Storm\Router\CoreRouter->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 190
12 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 141
11 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php 86
10 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() ~/vendor/winter/storm/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php 25
9 Winter\Storm\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
8 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/winter/storm/src/Foundation/Http/Middleware/CheckForTrustedProxies.php 56
7 Winter\Storm\Foundation\Http\Middleware\CheckForTrustedProxies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
6 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/winter/storm/src/Http/Middleware/TrustHosts.php 46
5 Winter\Storm\Http\Middleware\TrustHosts->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 180
4 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 116
3 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 165
2 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 134
1 Illuminate\Foundation\Http\Kernel->handle() ~/index.php 51