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

"Kernel::__construct() must implement interface ezpKernelHandler" ErrorException on first load

    XMLWordPrintable

    Details

      Description

      Upon setting up a new installation, the following error will occur on the first page load, but not on any subsequent accesses:

      Catchable Fatal Error: Argument 1 passed to eZ\Publish\Core\MVC\Legacy\Kernel::__construct() must implement interface ezpKernelHandler, null given, called in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php on line 69 and defined in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel.php line 38

      Stack trace:

      in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel.php at line 38    
          at ErrorHandler ->handle ('4096', 'Argument 1 passed to eZ\Publish\Core\MVC\Legacy\Kernel::__construct() must implement interface ezpKernelHandler, null given, called in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php on line 69 and defined', '/var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel.php', '38', array()) 
      in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel.php at line 38    
          at Kernel ->__construct (null, '/var/www/apache2php53/ezp5/app/ezpublish_legacy', '/var/www/apache2php53/ezp5/app/../web') 
      in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php at line 69    
          at eZ\Publish\Core\MVC\Legacy\Kernel\{closure} () 
      in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php at line 42    
          at LegacyKernelController ->__construct (object(Closure), object(TimedTwigEngine)) 
      in kernel.root_dir/cache/dev/appDevDebugProjectContainer.php at line 1651    
          at appDevDebugProjectContainer ->getEzpublishLegacy_ControllerService () 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 253    
          at Container ->get ('ezpublish_legacy.controller') 
      in kernel.root_dir/cache/dev/classes.php at line 5787    
          at ControllerResolver ->createController ('ezpublish_legacy.controller:indexAction') 
      in kernel.root_dir/cache/dev/classes.php at line 5288    
          at ControllerResolver ->getController (object(Request)) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/TraceableControllerResolver.php at line 51    
          at TraceableControllerResolver ->getController (object(Request)) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 117    
          at HttpKernel ->handleRaw (object(Request), '1') 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 73    
          at HttpKernel ->handle (object(Request), '1', true) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php at line 50    
          at HttpKernel ->handle (object(Request), '1', true) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 193    
          at Kernel ->handle (object(Request), '1', true) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 447    
          at HttpCache ->forward (object(Request), true, null) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60    
          at HttpCache ->forward (object(Request), true) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 416    
          at HttpCache ->fetch (object(Request), true) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 316    
          at HttpCache ->lookup (object(Request), true) 
      in /var/www/apache2php53/ezp5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 193    
          at HttpCache ->handle (object(Request)) 
      in /var/www/apache2php53/ezp5/web/index.php at line 11    

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bertrand.dunogier@ez.no Bertrand Dunogier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h