Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twig error when creating new volume #1306

Closed
johanneslamers opened this issue Jan 31, 2017 · 13 comments
Closed

Twig error when creating new volume #1306

johanneslamers opened this issue Jan 31, 2017 · 13 comments
Assignees
Labels
bug severity:normal Bugs that affect typical usage

Comments

@johanneslamers
Copy link

johanneslamers commented Jan 31, 2017

Description

Installed AWS-S3 plugin. When adding new volume it shows me this error:

Internal Server Error
An error occurred when rendering a template.

Steps to reproduce

  1. Instal AWS-S3 plugin
  2. Go to Assets -> New volume

Additional info

  • Craft version: 3.0.0-beta.1
  • PHP version: 7.1
  • Database driver & version:
  • Plugins & versions: Amazon S3 1.0.0.1
@angrybrad
Copy link
Member

Can you enable devMode and share the stack trace?

@johanneslamers
Copy link
Author

Yep:

Page Not Found The requested URL was not found on this server.

@johanneslamers
Copy link
Author

Same error for editing volumes.

@johanneslamers
Copy link
Author

When I uninstall the plugin it's working fine again.

@angrybrad
Copy link
Member

Not able to reproduce this locally using the same versions. Could you reproduce, then share your craft/storage/logs folder (if you don't mind sharing publicly)? If that's a problem, send over to [email protected].

@johanneslamers
Copy link
Author

johanneslamers commented Feb 1, 2017

$_COOKIE = [
    '_ga' => 'GA1.2.1896352020.1472801490'
    'CraftSessionId' => 'd740988b575d3362e997b651b5808b9a'
    '1031b8c41dfff97a311a7ac99863bdc5_username' => '0dcb5fa38c686c08ad7eb49c18347255f8e3a0107ee6e710496a3ea63437dc2aa:2:{i:0;s:41:\"1031b8c41dfff97a311a7ac99863bdc5_username\";i:1;s:5:\"admin\";}'
    'CRAFT_CSRF_TOKEN' => '4967a8c14291d2e87cc8ad0858c9488b1bb5f5ceda1322eb8700490a4c2cde7ba:2:{i:0;s:16:\"CRAFT_CSRF_TOKEN\";i:1;s:208:\"QIsbTKtNveTOjhfh5SAvmU_MnkqwDjx4udVwE-Yw|dbc5bb25e2affab94037efff96e3e9b044a8bbd0dbe702016797f06ebbe2ad81QIsbTKtNveTOjhfh5SAvmU_MnkqwDjx4udVwE-Yw|1|$2y$13$pCwAgoUzExpeTWQYVL9Q2OlMeERZ9YXO39QDsLJo1YmIU1nGmRLP.\";}'
    '1031b8c41dfff97a311a7ac99863bdc5_identity' => 'c862d337737ce253ca8f142e0a06eb5b76e39a19e7fb1965bee8f4476a2457a2a:2:{i:0;s:41:\"1031b8c41dfff97a311a7ac99863bdc5_identity\";i:1;s:285:\"[\"1\",\"[\\\"XCieF9azvmUHNt03OFLpNjOz8HEOPkECWjdPXCsFrTH4reDtLxMQ00BRRP5Mkqsmh3Kw4U9zzR6L7BsHhNX5Jmsdnh_S-KgDDZ5l\\\",\\\"045c3d94-3c64-48a8-9f4a-543283d6e73c\\\",\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36\\\"]\",3600]\";}'
]

$_SESSION = [
    'bd62416aa8538ede709019a5e113eea5__flash' => []
    '1031b8c41dfff97a311a7ac99863bdc5__id' => '1'
    '1031b8c41dfff97a311a7ac99863bdc5__expire' => 1485897880
]

$_SERVER = [
    'PHP_FCGI_CHILDREN' => '4'
    'PWD' => '/Applications/MAMP/fcgi-bin'
    'SHLVL' => '0'
    'PHP_FCGI_MAX_REQUESTS' => '200'
    '__CF_USER_TEXT_ENCODING' => '0x46:0:0'
    'ORIG_SCRIPT_NAME' => '/fcgi-bin/php7.1.0.fcgi'
    'ORIG_PATH_TRANSLATED' => '/Volumes/HDD/Sites/3/craft/web/index.php'
    'ORIG_PATH_INFO' => '/index.php'
    'ORIG_SCRIPT_FILENAME' => '/Applications/MAMP/fcgi-bin/php7.1.0.fcgi'
    'SCRIPT_NAME' => '/index.php'
    'REQUEST_URI' => '/admin/myaccount'
    'QUERY_STRING' => 'p=admin/myaccount'
    'REQUEST_METHOD' => 'GET'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'REDIRECT_URL' => '/index.php'
    'REDIRECT_QUERY_STRING' => 'p=admin/myaccount'
    'REMOTE_PORT' => '58442'
    'SCRIPT_FILENAME' => '/Volumes/HDD/Sites/3/craft/web/index.php'
    'SERVER_ADMIN' => '[email protected]'
    'DOCUMENT_ROOT' => '/Volumes/HDD/Sites/3/craft/web'
    'REMOTE_ADDR' => '::1'
    'SERVER_PORT' => '80'
    'SERVER_ADDR' => '::1'
    'SERVER_NAME' => '3.craft.dev'
    'SERVER_SOFTWARE' => 'Apache'
    'SERVER_SIGNATURE' => ''
    'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices'
    'HTTP_COOKIE' => '_ga=GA1.2.1896352020.1472801490; CraftSessionId=d740988b575d3362e997b651b5808b9a; 1031b8c41dfff97a311a7ac99863bdc5_username=0dcb5fa38c686c08ad7eb49c18347255f8e3a0107ee6e710496a3ea63437dc2aa%3A2%3A%7Bi%3A0%3Bs%3A41%3A%221031b8c41dfff97a311a7ac99863bdc5_username%22%3Bi%3A1%3Bs%3A5%3A%22admin%22%3B%7D; CRAFT_CSRF_TOKEN=4967a8c14291d2e87cc8ad0858c9488b1bb5f5ceda1322eb8700490a4c2cde7ba%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A208%3A%22QIsbTKtNveTOjhfh5SAvmU_MnkqwDjx4udVwE-Yw%7Cdbc5bb25e2affab94037efff96e3e9b044a8bbd0dbe702016797f06ebbe2ad81QIsbTKtNveTOjhfh5SAvmU_MnkqwDjx4udVwE-Yw%7C1%7C%242y%2413%24pCwAgoUzExpeTWQYVL9Q2OlMeERZ9YXO39QDsLJo1YmIU1nGmRLP.%22%3B%7D; 1031b8c41dfff97a311a7ac99863bdc5_identity=c862d337737ce253ca8f142e0a06eb5b76e39a19e7fb1965bee8f4476a2457a2a%3A2%3A%7Bi%3A0%3Bs%3A41%3A%221031b8c41dfff97a311a7ac99863bdc5_identity%22%3Bi%3A1%3Bs%3A285%3A%22%5B%221%22%2C%22%5B%5C%22XCieF9azvmUHNt03OFLpNjOz8HEOPkECWjdPXCsFrTH4reDtLxMQ00BRRP5Mkqsmh3Kw4U9zzR6L7BsHhNX5Jmsdnh_S-KgDDZ5l%5C%22%2C%5C%22045c3d94-3c64-48a8-9f4a-543283d6e73c%5C%22%2C%5C%22Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_12_2%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F55.0.2883.95+Safari%2F537.36%5C%22%5D%22%2C3600%5D%22%3B%7D'
    'HTTP_ACCEPT_LANGUAGE' => 'nl,en-US;q=0.8,en;q=0.6'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, sdch'
    'HTTP_REFERER' => 'http://3.craft.dev/admin/settings'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_HOST' => '3.craft.dev'
    'REDIRECT_STATUS' => '200'
    'REDIRECT_HANDLER' => 'php-fastcgi'
    'REDIRECT_REDIRECT_STATUS' => '200'
    'FCGI_ROLE' => 'RESPONDER'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1485894280.28
    'REQUEST_TIME' => 1485894280
    'argv' => [
        0 => 'p=admin/myaccount'
    ]
    'argc' => 1
    'DB_DRIVER' => 'mysql'
    'DB_SERVER' => 'localhost'
    'DB_USER' => 'root'
    'DB_PASSWORD' => 'root'
    'DB_DATABASE' => '3'
    'DB_SCHEMA' => 'public'
    'DB_TABLE_PREFIX' => ''
]
2017-01-31 21:24:51 [::1][1][d740988b575d3362e997b651b5808b9a][error][yii\base\Exception] yii\web\NotFoundHttpException in /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/ae/ae2fcb0299adaf5c1026f50b08e6e086ba9fd86136311d5834611dd5215c4d38.php:21
Stack trace:
#0 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_caacb3fed4d4d5aec9c840de14593989f94cc5542c828fd8f08449c04f3b093d->doDisplay(Array, Array)
#1 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#2 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#3 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#4 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(372): craft\web\twig\Template->display(Array)
#5 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Environment.php(288): Twig_Template->render(Array)
#6 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(242): Twig_Environment->render('awss3/volumeSet...', Array)
#7 /Volumes/HDD/Sites/3/craft/vendor/craftcms/aws-s3/src/Volume.php(121): craft\web\View->renderTemplate('awss3/volumeSet...', Array)
#8 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Extension/Core.php(1552): craft\awss3\Volume->getSettingsHtml()
#9 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/helpers/Template.php(68): twig_get_attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\awss3\Volume), 'getSettingsHtml', Array, 'method', false, false)
#10 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(148): craft\helpers\Template::attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\awss3\Volume), 'getSettingsHtml', Array, 'method')
#11 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->block_content(Array, Array)
#12 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(575): Twig_Template->displayBlock('content', Array, Array)
#13 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->block_body(Array, Array)
#14 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/2f/2fc05111cc808f942735bfb44bad4e178fecaaab046aa3d3f01458c6072bfc1f.php(51): Twig_Template->displayBlock('body', Array, Array)
#15 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_c786cfd21a7b01b8807ae2577637851fc7456cdcbb18bcce88e091877f51fcc1->doDisplay(Array, Array)
#16 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#17 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#18 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#19 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/20/20a57277050c8f3df2e553015a35b9c18cecc4675bd66db9d908efc74e965732.php(36): craft\web\twig\Template->display(Array, Array)
#20 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_903ab9753f452320b5f77ff9955e05a52479727e38387a5c6f9d5ef2dd18615d->doDisplay(Array, Array)
#21 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#22 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#23 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#24 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(88): craft\web\twig\Template->display(Array, Array)
#25 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->doDisplay(Array, Array)
#26 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#27 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#28 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#29 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(40): craft\web\twig\Template->display(Array, Array)
#30 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->doDisplay(Array, Array)
#31 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#32 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#33 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#34 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(372): craft\web\twig\Template->display(Array)
#35 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Environment.php(288): Twig_Template->render(Array)
#36 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(242): Twig_Environment->render('settings/assets...', Array)
#37 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(274): craft\web\View->renderTemplate('settings/assets...', Array)
#38 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Controller.php(100): craft\web\View->renderPageTemplate('settings/assets...', Array)
#39 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/controllers/VolumesController.php(163): craft\web\Controller->renderTemplate('settings/assets...', Array)
#40 [internal function]: craft\controllers\VolumesController->actionEditVolume(NULL, Object(craft\volumes\Local))
#41 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#42 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#43 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('edit-volume', Array)
#44 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(329): yii\base\Module->runAction('volumes/edit-vo...', Array)
#45 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/web/Application.php(100): craft\web\Application->runAction('volumes/edit-vo...', Array)
#46 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(210): yii\web\Application->handleRequest(Object(craft\web\Request))
#47 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Application.php(375): craft\web\Application->handleRequest(Object(craft\web\Request))
#48 /Volumes/HDD/Sites/3/craft/web/index.php(19): yii\base\Application->run()
#49 {main}

Next Twig_Error_Runtime: An exception has been thrown during the rendering of a template (""). in /Volumes/HDD/Sites/3/craft/vendor/craftcms/aws-s3/src/templates/volumeSettings.html:1
Stack trace:
#0 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#1 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#2 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#3 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(372): craft\web\twig\Template->display(Array)
#4 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Environment.php(288): Twig_Template->render(Array)
#5 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(242): Twig_Environment->render('awss3/volumeSet...', Array)
#6 /Volumes/HDD/Sites/3/craft/vendor/craftcms/aws-s3/src/Volume.php(121): craft\web\View->renderTemplate('awss3/volumeSet...', Array)
#7 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Extension/Core.php(1552): craft\awss3\Volume->getSettingsHtml()
#8 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/helpers/Template.php(68): twig_get_attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\awss3\Volume), 'getSettingsHtml', Array, 'method', false, false)
#9 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(148): craft\helpers\Template::attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\awss3\Volume), 'getSettingsHtml', Array, 'method')
#10 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->block_content(Array, Array)
#11 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(575): Twig_Template->displayBlock('content', Array, Array)
#12 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->block_body(Array, Array)
#13 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/2f/2fc05111cc808f942735bfb44bad4e178fecaaab046aa3d3f01458c6072bfc1f.php(51): Twig_Template->displayBlock('body', Array, Array)
#14 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_c786cfd21a7b01b8807ae2577637851fc7456cdcbb18bcce88e091877f51fcc1->doDisplay(Array, Array)
#15 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#16 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#17 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#18 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/20/20a57277050c8f3df2e553015a35b9c18cecc4675bd66db9d908efc74e965732.php(36): craft\web\twig\Template->display(Array, Array)
#19 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_903ab9753f452320b5f77ff9955e05a52479727e38387a5c6f9d5ef2dd18615d->doDisplay(Array, Array)
#20 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#21 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#22 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#23 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(88): craft\web\twig\Template->display(Array, Array)
#24 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->doDisplay(Array, Array)
#25 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#26 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#27 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#28 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(40): craft\web\twig\Template->display(Array, Array)
#29 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->doDisplay(Array, Array)
#30 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#31 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#32 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#33 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(372): craft\web\twig\Template->display(Array)
#34 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Environment.php(288): Twig_Template->render(Array)
#35 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(242): Twig_Environment->render('settings/assets...', Array)
#36 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(274): craft\web\View->renderTemplate('settings/assets...', Array)
#37 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Controller.php(100): craft\web\View->renderPageTemplate('settings/assets...', Array)
#38 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/controllers/VolumesController.php(163): craft\web\Controller->renderTemplate('settings/assets...', Array)
#39 [internal function]: craft\controllers\VolumesController->actionEditVolume(NULL, Object(craft\volumes\Local))
#40 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#41 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#42 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('edit-volume', Array)
#43 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(329): yii\base\Module->runAction('volumes/edit-vo...', Array)
#44 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/web/Application.php(100): craft\web\Application->runAction('volumes/edit-vo...', Array)
#45 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(210): yii\web\Application->handleRequest(Object(craft\web\Request))
#46 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Application.php(375): craft\web\Application->handleRequest(Object(craft\web\Request))
#47 /Volumes/HDD/Sites/3/craft/web/index.php(19): yii\base\Application->run()
#48 {main}

Next yii\base\Exception: An error occurred when rendering a template. in /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php:246
Stack trace:
#0 /Volumes/HDD/Sites/3/craft/vendor/craftcms/aws-s3/src/Volume.php(121): craft\web\View->renderTemplate('awss3/volumeSet...', Array)
#1 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Extension/Core.php(1552): craft\awss3\Volume->getSettingsHtml()
#2 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/helpers/Template.php(68): twig_get_attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\awss3\Volume), 'getSettingsHtml', Array, 'method', false, false)
#3 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(148): craft\helpers\Template::attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\awss3\Volume), 'getSettingsHtml', Array, 'method')
#4 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->block_content(Array, Array)
#5 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(575): Twig_Template->displayBlock('content', Array, Array)
#6 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->block_body(Array, Array)
#7 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/2f/2fc05111cc808f942735bfb44bad4e178fecaaab046aa3d3f01458c6072bfc1f.php(51): Twig_Template->displayBlock('body', Array, Array)
#8 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_c786cfd21a7b01b8807ae2577637851fc7456cdcbb18bcce88e091877f51fcc1->doDisplay(Array, Array)
#9 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#10 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#11 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#12 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/20/20a57277050c8f3df2e553015a35b9c18cecc4675bd66db9d908efc74e965732.php(36): craft\web\twig\Template->display(Array, Array)
#13 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_903ab9753f452320b5f77ff9955e05a52479727e38387a5c6f9d5ef2dd18615d->doDisplay(Array, Array)
#14 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#15 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#16 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#17 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(88): craft\web\twig\Template->display(Array, Array)
#18 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->doDisplay(Array, Array)
#19 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#20 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#21 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#22 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(40): craft\web\twig\Template->display(Array, Array)
#23 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->doDisplay(Array, Array)
#24 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#25 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#26 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#27 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(372): craft\web\twig\Template->display(Array)
#28 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Environment.php(288): Twig_Template->render(Array)
#29 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(242): Twig_Environment->render('settings/assets...', Array)
#30 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(274): craft\web\View->renderTemplate('settings/assets...', Array)
#31 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Controller.php(100): craft\web\View->renderPageTemplate('settings/assets...', Array)
#32 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/controllers/VolumesController.php(163): craft\web\Controller->renderTemplate('settings/assets...', Array)
#33 [internal function]: craft\controllers\VolumesController->actionEditVolume(NULL, Object(craft\volumes\Local))
#34 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#35 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#36 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('edit-volume', Array)
#37 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(329): yii\base\Module->runAction('volumes/edit-vo...', Array)
#38 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/web/Application.php(100): craft\web\Application->runAction('volumes/edit-vo...', Array)
#39 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(210): yii\web\Application->handleRequest(Object(craft\web\Request))
#40 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Application.php(375): craft\web\Application->handleRequest(Object(craft\web\Request))
#41 /Volumes/HDD/Sites/3/craft/web/index.php(19): yii\base\Application->run()
#42 {main}

Next Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("An error occurred when rendering a template."). in /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/templates/settings/assets/volumes/_edit.html:80
Stack trace:
#0 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(575): Twig_Template->displayBlock('content', Array, Array)
#1 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(188): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->block_body(Array, Array)
#2 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/2f/2fc05111cc808f942735bfb44bad4e178fecaaab046aa3d3f01458c6072bfc1f.php(51): Twig_Template->displayBlock('body', Array, Array)
#3 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_c786cfd21a7b01b8807ae2577637851fc7456cdcbb18bcce88e091877f51fcc1->doDisplay(Array, Array)
#4 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#5 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#6 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#7 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/20/20a57277050c8f3df2e553015a35b9c18cecc4675bd66db9d908efc74e965732.php(36): craft\web\twig\Template->display(Array, Array)
#8 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_903ab9753f452320b5f77ff9955e05a52479727e38387a5c6f9d5ef2dd18615d->doDisplay(Array, Array)
#9 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#10 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#11 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#12 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d5/d5206d19ce45648891de3c962ba162defd179e93980bec833a5b284a69d6fe07.php(88): craft\web\twig\Template->display(Array, Array)
#13 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_4e11c3f661e3344acc9c17dc15c714e1848b987baa4cd181e382ddf990da4c08->doDisplay(Array, Array)
#14 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#15 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#16 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#17 /Volumes/HDD/Sites/3/craft/storage/runtime/compiled_templates/d8/d8d4021166895a177cde46f85827634037390bc80bc6f02e4c2d1d4ac870eedb.php(40): craft\web\twig\Template->display(Array, Array)
#18 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(393): __TwigTemplate_ed813fc51a00a4e4f1756891e002a3fb4b031b523cc85608147dd93d0a8cc43e->doDisplay(Array, Array)
#19 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(51): Twig_Template->displayWithErrorHandling(Array, Array)
#20 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(364): craft\web\twig\Template->displayWithErrorHandling(Array, Array)
#21 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/twig/Template.php(32): Twig_Template->display(Array, Array)
#22 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Template.php(372): craft\web\twig\Template->display(Array)
#23 /Volumes/HDD/Sites/3/craft/vendor/twig/twig/lib/Twig/Environment.php(288): Twig_Template->render(Array)
#24 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(242): Twig_Environment->render('settings/assets...', Array)
#25 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(274): craft\web\View->renderTemplate('settings/assets...', Array)
#26 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Controller.php(100): craft\web\View->renderPageTemplate('settings/assets...', Array)
#27 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/controllers/VolumesController.php(163): craft\web\Controller->renderTemplate('settings/assets...', Array)
#28 [internal function]: craft\controllers\VolumesController->actionEditVolume(NULL, Object(craft\volumes\Local))
#29 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#30 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#31 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('edit-volume', Array)
#32 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(329): yii\base\Module->runAction('volumes/edit-vo...', Array)
#33 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/web/Application.php(100): craft\web\Application->runAction('volumes/edit-vo...', Array)
#34 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(210): yii\web\Application->handleRequest(Object(craft\web\Request))
#35 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Application.php(375): craft\web\Application->handleRequest(Object(craft\web\Request))
#36 /Volumes/HDD/Sites/3/craft/web/index.php(19): yii\base\Application->run()
#37 {main}

Next yii\base\Exception: An error occurred when rendering a template. in /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php:246
Stack trace:
#0 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/View.php(274): craft\web\View->renderTemplate('settings/assets...', Array)
#1 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Controller.php(100): craft\web\View->renderPageTemplate('settings/assets...', Array)
#2 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/controllers/VolumesController.php(163): craft\web\Controller->renderTemplate('settings/assets...', Array)
#3 [internal function]: craft\controllers\VolumesController->actionEditVolume(NULL, Object(craft\volumes\Local))
#4 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#5 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#6 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('edit-volume', Array)
#7 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(329): yii\base\Module->runAction('volumes/edit-vo...', Array)
#8 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/web/Application.php(100): craft\web\Application->runAction('volumes/edit-vo...', Array)
#9 /Volumes/HDD/Sites/3/craft/vendor/craftcms/cms/src/web/Application.php(210): yii\web\Application->handleRequest(Object(craft\web\Request))
#10 /Volumes/HDD/Sites/3/craft/vendor/yiisoft/yii2/base/Application.php(375): craft\web\Application->handleRequest(Object(craft\web\Request))
#11 /Volumes/HDD/Sites/3/craft/web/index.php(19): yii\base\Application->run()
#12 {main}
2017-01-31 21:24:51 [::1][1][d740988b575d3362e997b651b5808b9a][info][application] $_GET = [
    'p' => 'admin/settings/assets/volumes/new'
]

@angrybrad angrybrad self-assigned this Feb 1, 2017
@angrybrad
Copy link
Member

Hrm... not getting much from that, unfortunately. Can you send a database dump over to [email protected] and reference issue #1306?

@ostark
Copy link
Contributor

ostark commented Feb 2, 2017

When I uninstall the plugin it's working fine again.

Same here. I can't see anything in the logs.
I'll try to reproduce and debug it.

@brandonkelly
Copy link
Member

@johanneslamers @ostark composer update and LMK if this is fixed for you now

@angrybrad
Copy link
Member

@ostark @johanneslamers Can you try updating to https://github.com/craftcms/aws-s3/releases/tag/1.0.2 and see if you still get the issue?

@ostark
Copy link
Contributor

ostark commented Feb 3, 2017

Works 👍

@angrybrad
Copy link
Member

@ostark thanks!

@angrybrad
Copy link
Member

Resolved by updating to the latest C3 beta release as well as https://github.com/craftcms/aws-s3/releases/tag/1.0.2

@angrybrad angrybrad added severity:normal Bugs that affect typical usage and removed need more info unverified labels Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug severity:normal Bugs that affect typical usage
Projects
None yet
Development

No branches or pull requests

4 participants