Details
-
Bug
-
Resolution: Fixed
-
High
-
5.4-dev
Description
While using eZ Demo, if you try to upload to a folder using multiple upload it will get stuck at the end of the first image
Then you have the following error dump in apache error log
[Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP Warning: Invalid argument supplied for foreach() in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Templating/Twig/Extension/LegacyExtension.php on line 167 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP Stack trace: [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 1. {main}() /var/www/ezpublish5/web/index.php:0 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 2. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->handle() /var/www/ezpublish5/web/index.php:77 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 4. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:189 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 5. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:57 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:260 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 7. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:243 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 8. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 9. eZ\\Bundle\\EzPublishCoreBundle\\Kernel->handle() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:466 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 10. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:67 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 11. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2246 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2966 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2837 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 14. call_user_func_array() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2863 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 15. eZ\\Bundle\\EzPublishLegacyBundle\\Controller\\LegacyKernelController->indexAction() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2863 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 16. eZ\\Bundle\\EzPublishLegacyBundle\\LegacyResponse\\LegacyResponseManager->generateResponseFromModuleResult() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:121 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 17. eZ\\Bundle\\EzPublishLegacyBundle\\LegacyResponse\\LegacyResponseManager->render() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php:75 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 18. Symfony\\Component\\Templating\\DelegatingEngine->render() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php:129 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 19. Symfony\\Bundle\\TwigBundle\\TwigEngine->render() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php:50 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 20. Symfony\\Bridge\\Twig\\TwigEngine->render() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:83 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 21. Twig_Template->render() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:53 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 22. Twig_Template->display() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4556 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 23. Twig_Template->displayWithErrorHandling() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4549 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 24. __TwigTemplate_b51ee4d1b0a8356b3cb3d264962e8b8b0466827a4144ef5d3b0d278243ca1e74->doDisplay() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4568 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 25. Twig_Template->display() /var/www/ezpublish5/ezpublish/cache/prod/twig/b5/1e/e4d1b0a8356b3cb3d264962e8b8b0466827a4144ef5d3b0d278243ca1e74.php:24 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 26. Twig_Template->displayWithErrorHandling() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4549 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 27. __TwigTemplate_0a1e633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392->doDisplay() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4568 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 28. Twig_Template->display() /var/www/ezpublish5/ezpublish/cache/prod/twig/0a/1e/633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392.php:54 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 29. Twig_Template->displayWithErrorHandling() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4549 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 30. __TwigTemplate_0baa83b0860d288a92b7e96a96b0869ea334750b94d62354a789537e3cf6af16->doDisplay() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4568 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 31. eZ\\Publish\\Core\\MVC\\Legacy\\Templating\\Twig\\Extension\\LegacyExtension->renderLegacyCss() /var/www/ezpublish5/ezpublish/cache/prod/twig/0b/aa/83b0860d288a92b7e96a96b0869ea334750b94d62354a789537e3cf6af16.php:59 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP Warning: Invalid argument supplied for foreach() in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Templating/Twig/Extension/LegacyExtension.php on line 132 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP Stack trace: [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 1. {main}() /var/www/ezpublish5/web/index.php:0 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 2. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->handle() /var/www/ezpublish5/web/index.php:77 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 4. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:189 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 5. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:57 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:260 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 7. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:243 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 8. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 9. eZ\\Bundle\\EzPublishCoreBundle\\Kernel->handle() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:466 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 10. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:67 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 11. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2246 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2966 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2837 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 14. call_user_func_array() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2863 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 15. eZ\\Bundle\\EzPublishLegacyBundle\\Controller\\LegacyKernelController->indexAction() /var/www/ezpublish5/ezpublish/bootstrap.php.cache:2863 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 16. eZ\\Bundle\\EzPublishLegacyBundle\\LegacyResponse\\LegacyResponseManager->generateResponseFromModuleResult() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:121 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 17. eZ\\Bundle\\EzPublishLegacyBundle\\LegacyResponse\\LegacyResponseManager->render() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php:75 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 18. Symfony\\Component\\Templating\\DelegatingEngine->render() /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php:129 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 19. Symfony\\Bundle\\TwigBundle\\TwigEngine->render() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php:50 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 20. Symfony\\Bridge\\Twig\\TwigEngine->render() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:83 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 21. Twig_Template->render() /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:53 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 22. Twig_Template->display() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4556 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 23. Twig_Template->displayWithErrorHandling() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4549 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 24. __TwigTemplate_b51ee4d1b0a8356b3cb3d264962e8b8b0466827a4144ef5d3b0d278243ca1e74->doDisplay() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4568 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 25. Twig_Template->display() /var/www/ezpublish5/ezpublish/cache/prod/twig/b5/1e/e4d1b0a8356b3cb3d264962e8b8b0466827a4144ef5d3b0d278243ca1e74.php:24 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 26. Twig_Template->displayWithErrorHandling() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4549 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 27. __TwigTemplate_0a1e633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392->doDisplay() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4568 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 28. Twig_Template->display() /var/www/ezpublish5/ezpublish/cache/prod/twig/0a/1e/633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392.php:57 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 29. Twig_Template->displayWithErrorHandling() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4549 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 30. __TwigTemplate_0a4cc72d906fb53efcb37f6e895073a77504e3ae10159e690678ac6db6134cc6->doDisplay() /var/www/ezpublish5/ezpublish/cache/prod/classes.php:4568 [Thu Jun 19 10:12:03 2014] [error] [client 192.168.2.204] PHP 31. eZ\\Publish\\Core\\MVC\\Legacy\\Templating\\Twig\\Extension\\LegacyExtension->renderLegacyJs() /var/www/ezpublish5/ezpublish/cache/prod/twig/0a/4c/c72d906fb53efcb37f6e895073a77504e3ae10159e690678ac6db6134cc6.php:128