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

Fatal error in the eZ Publish dashboard after creating new draft with REST v2

    XMLWordPrintable

    Details

      Description

      When you try load eZ Publish dashboard after creating content draft with REST v2 you will get following fatal error:

      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function versionLanguageName() on a non-object in /Users/ls/Sites/restdemo51/ezpublish_legacy/kernel/classes/ezcontentobjectversion.php on line 295, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   1. {main}() /Users/ls/Sites/restdemo51/web/index.php:0, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   2. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /Users/ls/Sites/restdemo51/web/index.php:26, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->lookup() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:194, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   4. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->fetch() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:321, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   5. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:421, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   7. Symfony\\Component\\HttpKernel\\Kernel->handle() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:464, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   8. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:197, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP   9. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php:57, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  10. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:73, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  11. call_user_func_array() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:129, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  12. eZ\\Bundle\\EzPublishLegacyBundle\\Controller\\LegacyKernelController->indexAction() /Users/ls/Sites/restdemo51/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:129, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  13. eZ\\Publish\\Core\\MVC\\Legacy\\Kernel->run() /Users/ls/Sites/restdemo51/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:79, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  14. ezpKernel->run() /Users/ls/Sites/restdemo51/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:75, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  15. ezpKernelWeb->run() /Users/ls/Sites/restdemo51/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  16. ezpKernelWeb->dispatchLoop() /Users/ls/Sites/restdemo51/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:324, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  17. eZModule->run() /Users/ls/Sites/restdemo51/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:794, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  18. eZProcess::run() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/ezutils/classes/ezmodule.php:1789, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  19. eZProcess->runFile() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:21, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  20. include() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:46, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  21. eZTemplate->fetch() /Users/ls/Sites/restdemo51/ezpublish_legacy/kernel/content/dashboard.php:87, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  22. eZTemplate->executeCompiledTemplate() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplate.php:529, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  23. eZTemplateFileResource->executeCompiledTemplate() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplate.php:985, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  24. eZTemplateCompiler::executeCompilation() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplatefileresource.php:114, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  25. eZTemplateCompiler::executeCompilationHelper() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplatecompiler.php:404, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  26. include() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplatecompiler.php:448, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  27. eZTemplate->processFunction() /Users/ls/Sites/restdemo51/ezpublish_legacy/var/ezdemo_site/cache/template/compiled/dashboard-9282534a61a6f34e7dbab7a4254213e3.php:349, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  28. eZTemplateIncludeFunction->process() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplate.php:646, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  29. eZTemplateIncludeFunction::handleInclude() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplateincludefunction.php:184, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  30. eZTemplate->processURI() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplateincludefunction.php:203, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  31. eZTemplate->executeCompiledTemplate() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplate.php:827, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  32. eZTemplateFileResource->executeCompiledTemplate() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplate.php:985, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  33. eZTemplateCompiler::executeCompilation() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplatefileresource.php:114, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  34. eZTemplateCompiler::executeCompilationHelper() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplatecompiler.php:404, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  35. include() /Users/ls/Sites/restdemo51/ezpublish_legacy/lib/eztemplate/classes/eztemplatecompiler.php:448, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  36. compiledFetchAttribute() /Users/ls/Sites/restdemo51/ezpublish_legacy/var/ezdemo_site/cache/template/compiled/drafts-7748741a7198f36b941ad8a2a6ef0978.php:184, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  37. eZPersistentObject->attribute() /Users/ls/Sites/restdemo51/ezpublish_legacy/var/ezdemo_site/cache/template/compiled/common.php:58, referer: http://ezp.rest.demo/ezdemo_site_admin
      [Fri May 24 12:30:57 2013] [error] [client 127.0.0.1] PHP  38. eZContentObjectVersion->name() /Users/ls/Sites/restdemo51/ezpublish_legacy/kernel/classes/ezpersistentobject.php:1282, referer: http://ezp.rest.demo/ezdemo_site_admin
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lukasz.serwatka@ez.no Ɓukasz Serwatka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: