teepluss / laravel-theme

Theme and asset managing for laravel
MIT License
546 stars 132 forks source link

Error with config #69

Closed motorek closed 9 years ago

motorek commented 10 years ago

Hi !

Sometimes I have this error. To fix it I must upload vendor package again to hosting. Could you help me ?

ErrorException thrown with message "Undefined index: themeDir"

Stacktrace:

24 ErrorException in /vendor/teepluss/theme/src/Teepluss/Theme/Theme.php:301

23 Illuminate\Exception\Handler:handleError in /vendor/teepluss/theme/src/Teepluss/Theme/Theme.php:301

22 Teepluss\Theme\Theme:getConfig in /vendor/teepluss/theme/src/Teepluss/Theme/Theme.php:471

21 Teepluss\Theme\Theme:path in /vendor/teepluss/theme/src/Teepluss/Theme/Theme.php:218

20 Teepluss\Theme\Theme:exists in /vendor/teepluss/theme/src/Teepluss/Theme/Theme.php:415

19 Teepluss\Theme\Theme:theme in /vendor/teepluss/theme/src/Teepluss/Theme/Theme.php:443

18 Teepluss\Theme\Theme:uses in /vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:208

17 Illuminate\Support\Facades\Facade:__callStatic in /app/controllers/BaseController.php:15

16 Teepluss\Theme\Facades\Theme:uses in /app/controllers/BaseController.php:15

15 BaseController:setupLayout in /vendor/laravel/framework/src/Illuminate/Routing/Controller.php:229

14 Illuminate\Routing\Controller:callAction in /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:93

13 Illuminate\Routing\ControllerDispatcher:call in /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:62

12 Illuminate\Routing\ControllerDispatcher:dispatch in /vendor/laravel/framework/src/Illuminate/Routing/Router.php:962

11 Illuminate\Routing\Router:Illuminate\Routing{closure} in <#unknown>:0

10 call_user_func_array in /vendor/laravel/framework/src/Illuminate/Routing/Route.php:109

9 Illuminate\Routing\Route:run in /vendor/laravel/framework/src/Illuminate/Routing/Router.php:1028

8 Illuminate\Routing\Router:dispatchToRoute in /vendor/laravel/framework/src/Illuminate/Routing/Router.php:996

7 Illuminate\Routing\Router:dispatch in /vendor/laravel/framework/src/Illuminate/Foundation/Application.php:776

6 Illuminate\Foundation\Application:dispatch in /vendor/laravel/framework/src/Illuminate/Foundation/Application.php:746

5 Illuminate\Foundation\Application:handle in /vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72

4 Illuminate\Session\Middleware:handle in /vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47

3 Illuminate\Cookie\Queue:handle in /vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51

2 Illuminate\Cookie\Guard:handle in /vendor/stack/builder/src/Stack/StackedHttpKernel.php:23

1 Stack\StackedHttpKernel:handle in /vendor/laravel/framework/src/Illuminate/Foundation/Application.php:642

0 Illuminate\Foundation\Application:run in /index.php:49

teepluss commented 10 years ago
$ php artisan config:publish teepluss/theme 
motorek commented 10 years ago

Yes i try it, but problem still appear. Website its working few mins, hours, days fine. but error appears by itself

teepluss commented 10 years ago

Have you already run "composer update" yet?

motorek commented 10 years ago

Yes.