Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7834

Cache clearing breaks on invalid declaration of DriverFactory class due to BC in 3rd party

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.3.37, 4.5.6, 4.6.1
    • 4.6.0, 3.3.36, 4.5.6
    • None

    Description

      Cache clear fails with fatal error:

      !!  PHP Fatal error:  Declaration of EzSystems\EzPlatformPageBuilder\PageBuilder\Timeline\Serializer\Driver\DriverFactory::createDriver(array $metadataDirs, Doctrine\Common\Annotations\Reader $annotationReader): Metadata\Driver\DriverInterface must be compatible with JMS\Serializer\Builder\DriverFactoryInterface::createDriver(array $metadataDirs, ?Doctrine\Common\Annotations\Reader $annotationReader = null): Metadata\Driver\DriverInterface in /Users/maciejkobus/Projects/ibexa/installations/commerce-3.3.x-dev-2024-02-26/vendor/ezsystems/ezplatform-page-builder/src/lib/PageBuilder/Timeline/Serializer/Driver/DriverFactory.php on line 34

      It's caused by BC break done in https://github.com/schmittjoh/serializer/releases/tag/3.30.0

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              maciej.kobus@ibexa.co Maciej Kobus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: