Error

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

Class 'Twig\Environment' not found

/home/vlmg/ranchorr.mx/modules/cms/classes/Controller.php line 608

            $options['cache'] = new TwigCacheFilesystem(
                storage_path().'/cms/twig',
                $forceBytecode ? TwigCacheFilesystem::FORCE_BYTECODE_INVALIDATION : 0
            );
        }
 
        $this->twig = new TwigEnvironment($this->loader, $options);
        $this->twig->addExtension(new CmsTwigExtension($this));
        $this->twig->addExtension(new SystemTwigExtension);
 
        if ($isDebugMode) {
            $this->twig->addExtension(new DebugExtension($this));
        }

Stack trace

# Called Code Document Line
49 Cms\Classes\Controller->initTwigEnvironment() ~/modules/cms/classes/Controller.php 125
48 Cms\Classes\Controller->__construct()
47 ReflectionClass->newInstanceArgs() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 785
46 Illuminate\Container\Container->build() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 631
45 Illuminate\Container\Container->resolve() ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 586
44 Illuminate\Container\Container->make() ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 732
43 Illuminate\Foundation\Application->make() ~/vendor/october/rain/src/Foundation/Application.php 158
42 October\Rain\Foundation\Application->make() ~/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php 221
41 Illuminate\Support\Facades\Facade::__callStatic() ~/modules/cms/classes/CmsController.php 50
40 Cms\Classes\CmsController->run()
39 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 54
38 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 45
37 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 212
36 Illuminate\Routing\Route->runController() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 169
35 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 658
34 Illuminate\Routing\Router->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 30
33 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php 41
32 Illuminate\Routing\Middleware\SubstituteBindings->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
31 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
30 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
29 Illuminate\View\Middleware\ShareErrorsFromSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
28 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
27 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 63
26 Illuminate\Session\Middleware\StartSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
25 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
24 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
23 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
22 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
21 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 66
20 Illuminate\Cookie\Middleware\EncryptCookies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
19 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
18 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
17 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 660
16 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 635
15 Illuminate\Routing\Router->runRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 601
14 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/october/rain/src/Router/CoreRouter.php 20
13 October\Rain\Router\CoreRouter->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 176
12 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 30
11 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 46
10 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php 24
9 October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
8 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
7 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/plugins/popcornphp/redirecttohttps/classes/HTTPSMiddleware.php 13
6 PopcornPHP\RedirectToHTTPS\Classes\HTTPSMiddleware->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
5 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
4 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
3 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 151
2 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 116
1 Illuminate\Foundation\Http\Kernel->handle() ~/index.php 48