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

PHP Fatal error: Declaration of eZPublishCorePersistenceLegacyContentHandler_0000000073c4f60d000000004b2c2d5f::load() after upgrading to 5.3.2

    Details

      Description

      If you upgrade to 5.3.2 with content in the ezpublish/cache folder you get the following error when running composer

      PHP Fatal error:  Declaration of eZPublishCorePersistenceLegacyContentHandler_0000000073c4f60d000000004b2c2d5f::load() must be compatible with that of eZ\Publish\SPI\Persistence\Content\Handler::load() in /var/www/html/ezp/ezpublish/cache/prod/ezpublishProdProjectContainer.php on line 17101
      Script eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler::dumpAssets handling the post-update-cmd event terminated with an exception
       
       
                                                                                               
        [RuntimeException]                                                                     
        An error occurred when executing the "'assetic:dump --env=prod '\''web'\'''" command.  
                                                                                             
      

      Note: If you clear the cache manually before running the update the issue won't be present

        Issue Links

          Activity

          Hide
          Pedro Resende (Inactive) added a comment -
          Show
          Pedro Resende (Inactive) added a comment - Duplicate of https://jira.ez.no/browse/EZP-23159
          Hide
          André Rømcke added a comment -

          Closing as Duplicate as the root issue is covered by related issue which we will try to solve for next micro release.

          Show
          André Rømcke added a comment - Closing as Duplicate as the root issue is covered by related issue which we will try to solve for next micro release.

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: