Error

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

Unable to register extension "Twig_Extensions_Extension_Intl" as it is already registered.

/home/site/wwwroot/vendor/twig/twig/src/ExtensionSet.php line 149

 
        if ($this->initialized) {
            throw new \LogicException(sprintf('Unable to register extension "%s" as extensions have already been initialized.', $class));
        }
 
        if (isset($this->extensions[$class])) {
            throw new \LogicException(sprintf('Unable to register extension "%s" as it is already registered.', $class));
        }
 
        // For BC/FC with namespaced aliases
        $class = (new \ReflectionClass($class))->name;
        $this->extensions[$class] = $extension;
    }

Stack trace

# Called Code Document Line
48 Twig\ExtensionSet->addExtension() ~/vendor/twig/twig/src/Environment.php 702
47 Twig\Environment->addExtension() ~/plugins/jorgeandrade/events/Plugin.php 22
46 JorgeAndrade\Events\Plugin->JorgeAndrade\Events\{closure}() ~/vendor/october/rain/src/Events/Dispatcher.php 417
45 October\Rain\Events\Dispatcher->October\Rain\Events\{closure}() ~/vendor/october/rain/src/Events/Dispatcher.php 260
44 October\Rain\Events\Dispatcher->dispatch() ~/vendor/october/rain/src/Events/Dispatcher.php 226
43 October\Rain\Events\Dispatcher->fire() ~/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php 239
42 Illuminate\Support\Facades\Facade::__callStatic() ~/modules/system/Traits/EventEmitter.php 58
41 Cms\Classes\Controller->fireSystemEvent() ~/modules/cms/Classes/Controller.php 196
40 Cms\Classes\Controller->run() ~/plugins/businessbecause/news/components/Category.php 92
39 Businessbecause\News\Components\Category->prepareVars() ~/plugins/businessbecause/news/components/Category.php 45
38 Businessbecause\News\Components\Category->onRun() ~/modules/cms/Classes/CmsCompoundObject.php 168
37 Cms\Classes\CmsCompoundObject->runComponents() ~/modules/cms/Classes/Controller.php 501
36 Cms\Classes\Controller->execPageCycle() ~/modules/cms/Classes/Controller.php 394
35 Cms\Classes\Controller->runPage() ~/modules/cms/Classes/Controller.php 225
34 Cms\Classes\Controller->run() ~/modules/cms/Classes/CmsController.php 50
33 Cms\Classes\CmsController->run()
32 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 54
31 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 45
30 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 219
29 Illuminate\Routing\Route->runController() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 176
28 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 680
27 Illuminate\Routing\Router->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 130
26 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/plugins/rainlab/translate/classes/LocaleMiddleware.php 29
25 RainLab\Translate\Classes\LocaleMiddleware->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
24 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php 41
23 Illuminate\Routing\Middleware\SubstituteBindings->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
22 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
21 Illuminate\View\Middleware\ShareErrorsFromSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
20 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 56
19 Illuminate\Session\Middleware\StartSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
18 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
17 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
16 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 66
15 Illuminate\Cookie\Middleware\EncryptCookies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
14 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 105
13 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 682
12 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 657
11 Illuminate\Routing\Router->runRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 623
10 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/october/rain/src/Router/CoreRouter.php 20
9 October\Rain\Router\CoreRouter->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 176
8 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 130
7 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 62
6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php 25
5 October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
4 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 105
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 43