Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 3 passed to System\Classes\SettingsManager::addSettingItem() must be of the type array, string given, called in /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Classes/SettingsManager.php on line 249 in /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Classes/SettingsManager.php:259
Stack trace:
#0 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Classes/SettingsManager.php(249): System\Classes\SettingsManager->addSettingItem('SSI.Galeria', 'SSI\\Galeria\\Com...', 'Galeria SSI')
#1 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Classes/SettingsManager.php(238): System\Classes\SettingsManager->addSettingItems('SSI.Galeria', Array)
#2 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Classes/SettingsManager.php(109): System\Classes\SettingsManager->registerSettingItems('SSI.Galeria', Array)
#3 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Classes/SettingsManager.php(163): System\Classes\SettingsManager->loadItems()
#4 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/ServiceProvider.php(385): System\Classes\SettingsManager->listItems('system')
#5 [internal function]: System\ServiceProvider->System\{closure}(Object(Backend\Classes\NavigationManager))
#6 /Users/programista/kuba/wzorzec/october-cmssi/vendor/october/rain/src/Events/Dispatcher.php(233): call_user_func_array(Object(Closure), Array)
#7 /Users/programista/kuba/wzorzec/october-cmssi/vendor/october/rain/src/Events/Dispatcher.php(197): October\Rain\Events\Dispatcher->dispatch('backend.menu.ex...', Array, false)
#8 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): October\Rain\Events\Dispatcher->fire('backend.menu.ex...', Array)
#9 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/NavigationManager.php(116): Illuminate\Support\Facades\Facade::__callStatic('fire', Array)
#10 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/NavigationManager.php(345): Backend\Classes\NavigationManager->loadItems()
#11 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/NavigationManager.php(484): Backend\Classes\NavigationManager->listMainMenuItems()
#12 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Backend\Classes\NavigationManager->getActiveMainMenuItem()
#13 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/layouts/_mainmenu.htm(2): Illuminate\Support\Facades\Facade::__callStatic('getActiveMainMe...', Array)
#14 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(247): include('/Users/programi...')
#15 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(156): Backend\Classes\Controller->makeFileContents('/Users/programi...', Array)
#16 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(172): Backend\Classes\Controller->makeLayout('_mainmenu', Array)
#17 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/layouts/default.htm(13): Backend\Classes\Controller->makeLayoutPartial('_mainmenu')
#18 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(247): include('/Users/programi...')
#19 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(156): Backend\Classes\Controller->makeFileContents('/Users/programi...', Array)
#20 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(128): Backend\Classes\Controller->makeLayout(NULL)
#21 /Users/programista/kuba/wzorzec/october-cmssi/modules/system/Traits/ViewMaker.php(110): Backend\Classes\Controller->makeViewContent('')
#22 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/Controller.php(419): Backend\Classes\Controller->makeView('index')
#23 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/Controller.php(296): Backend\Classes\Controller->execPageAction('index', Array)
#24 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/BackendController.php(165): Backend\Classes\Controller->run('index', Array)
#25 [internal function]: Backend\Classes\BackendController->run('cms')
#26 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)
#27 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('run', Array)
#28 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Backend\Classes\BackendController), 'run')
#29 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169): Illuminate\Routing\Route->runController()
#30 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\Routing\Route->run()
#31 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#32 /Users/programista/kuba/wzorzec/october-cmssi/modules/backend/Classes/BackendController.php(68): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#33 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(131): Backend\Classes\BackendController->Backend\Classes\{closure}(Object(Illuminate\Http\Request), Object(Closure))
#34 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#35 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#36 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#37 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#38 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#39 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#40 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#41 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#42 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#45 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#47 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(66): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#48 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#49 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#50 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#51 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#52 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#53 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Router.php(601): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#54 /Users/programista/kuba/wzorzec/october-cmssi/vendor/october/rain/src/Router/CoreRouter.php(20): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#55 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#56 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#57 /Users/programista/kuba/wzorzec/october-cmssi/plugins/offline/responsiveimages/classes/ResponsiveImagesMiddleware.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#58 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): OFFLINE\ResponsiveImages\Classes\ResponsiveImagesMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#60 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#61 /Users/programista/kuba/wzorzec/october-cmssi/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(24): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#63 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#64 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#65 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#66 /Users/programista/kuba/wzorzec/october-cmssi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#67 /Users/programista/kuba/wzorzec/october-cmssi/index.php(43): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#68 /Users/programista/kuba/wzorzec/october-cmssi/server.php(18): require_once('/Users/programi...')
#69 {main}