Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24754

PHP Notice while erasing content

    XMLWordPrintable

    Details

      Description

      While removing content, in some strange cases it raises the exception

      2015/09/01 16:00:29 [error] 1247#0: *49 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined offset: 0 in /var/www/html/test/ezpublish_legacy/kernel/content/ezcontentoperationcollection.php on line 877
      PHP message: PHP Stack trace:
      PHP message: PHP   1. {main}() /var/www/html/test/web/index.php:0
      PHP message: PHP   2. Symfony\Component\HttpKernel\Kernel->handle() /var/www/html/test/web/index.php:77
      PHP message: PHP   3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:186
      PHP message: PHP   4. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php:64
      PHP message: PHP   5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:66
      PHP message: PHP   6. call_user_func_array:{/var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:145}() /var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:145
      PHP message: PHP   7. eZ\Bundle\EzPublishLegacyBundle\Controller\LegacyKernelController->indexAction() /var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:145
      PHP message: PHP   8. eZ\Publish\Core\MVC\Legacy\Kernel->run() /var/www/html/test/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:110
      PHP message: PHP   9. ezpKernel->run() /var/www/html/test/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:123
      PHP message: PHP  10. ezpKernelWeb->run() /var/www/html/test/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53
      PHP message: PHP  11. ezpKernelWeb->dispatchLoop() /var/www/html/test/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:344
      PHP message: PHP  12. eZModule->run() /var/www/html/test
      2015/09/01 16:00:29 [error] 1247#0: *49 FastCGI sent in stderr: "rnelController.php:110
      PHP message: PHP   9. ezpKernel->run() /var/www/html/test/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:123
      PHP message: PHP  10. ezpKernelWeb->run() /var/www/html/test/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53
      PHP message: PHP  11. ezpKernelWeb->dispatchLoop() /var/www/html/test/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:344
      PHP message: PHP  12. eZModule->run() /var/www/html/test/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:815
      PHP message: PHP  13. eZProcess::run() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezmodule.php:1797
      PHP message: PHP  14. eZProcess->runFile() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:21
      PHP message: PHP  15. include() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:46
      PHP message: PHP  16. eZOperationHandler::execute() /var/www/html/test/ezpublish_legacy/kernel/content/removeobject.php:174
      PHP message: PHP  17. eZModuleOperationInfo->execute() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezoperationhandler.php:57
      PHP message: PHP  18. eZModuleOperationInfo->executeBody() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php:216
      PHP message: PHP  19. eZModuleOperationInfo->executeClassMethod() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php:530
      PHP message: PHP  20. call_user_func_array:{/var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php:829}() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php:829
      PHP message: PHP  21. eZContentOperationCollection->removeNodes() /var/www/html/test/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php:829" while reading response header from upstream, client: 127.0.0.1, server: test.local, request: "POST /content/removeobject HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/www.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: