Vinelab/cdn

ErrorException in AwsS3Provider.php line 132:

Closed this issue · 2 comments

I am getting this error on upgrade to Laravel 5.1, If I remove asset loading throught CDN its working fine.

ErrorException in AwsS3Provider.php line 132:

Undefined index: version (View: /home/vagrant/Code/lawcus-dev/resources/views/layouts/application.blade.php) (View: /home/vagrant/Code/lawcus-dev/resources/views/layouts/application.blade.php)

in AwsS3Provider.php line 132
at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44
at PhpEngine->evaluatePath('/home/vagrant/Code/lawcus-dev/storage/framework/views/0cdadda0bcfe1ed91af1794fd7fa0d08', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'currentUser' => object(EloquentUser), 'pusher' => object(Pusher), 'obLevel' => '1')) in CompilerEngine.php line 58
at CompilerEngine->get('/home/vagrant/Code/lawcus-dev/resources/views/layouts/application.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'currentUser' => object(EloquentUser), 'pusher' => object(Pusher), 'obLevel' => '1')) in View.php line 138
at View->getContents() in View.php line 107
at View->renderContents() in View.php line 81
at View->render() in e4cc703f2f2f0887b764a48549aeeaa0 line 19

What about when you set version to 'latest' in the CDN config file?

Had the old config file. Working now. Thanks!