Skip to content

Updating from version 2.4.7 to 2.4.7-p1 #38874

@sgeleon

Description

@sgeleon

Preconditions and environment

Updating from version 2.4.7 to 2.4.7-p1

My composer file:

{
    "name": "XXX",
    "description": "eCommerce Platform for Growth (Community Edition)",
    "version": "2.4.5",
    "type": "project",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "magento/magento-composer-installer": true,
            "laminas/laminas-dependency-plugin": true,
            "cweagans/composer-patches": true,
            "magento/composer-dependency-version-audit-plugin": true,
            "php-http/discovery": true
        }
    },
    "require": {
        "addressfinder/module-magento2": "2.*",
        "algolia/algoliasearch-magento-2": "3.8.1",
        "amasty/module-google-rich-snippets": "1.*",
        "creativestyle/magesuite-magepack": "1.*",
        "cweagans/composer-patches": "1.*",
        "ethanyehuda/magento2-cronjobmanager": "1.*",
        "experius/module-emailcatcher": "3.*",
        "fooman/sameorderinvoicenumber-m2": "3.*",
        "hubspot/hubspot-php": "5.*",
        "jalogut/magento2-deployer-plus": "2.*",
        "justbetter/magento2-sentry": "^3.4",
        "klaviyo/api": "5.1",
        "laminas/laminas-serializer": "2.*",
        "magento/product-community-edition": "2.4.7-p1",
        "mirasvit/module-cache-warmer": "*",
        "mirasvit/module-credit": "1.*",
        "mirasvit/module-indexer": "*",
        "mirasvit/module-kb": "*",
        "mirasvit/module-rma": "*",
        "onestepcheckout/iosc": "1.*",
        "snowdog/module-menu": "2.*",
        "xtento/customtrackers": "2.*",
        "xtento/module-stockimport": "2.*",
        "xtento/orderexport": "2.*",
        "xtento/orderimport": "2.*",
        "xtento/pdfcustomizer": "2.*",
        "xtento/productexport": "2.*",
        "xtento/trackingimport": "2.*",
        "yireo/magento2-replace-inventory": "*"
    },
    "conflict": {
        "gene/bluefoot": "*"
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/",
            "Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
        },
        "psr-0": {
            "": [
                "app/code/",
                "generated/code/"
            ]
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ],
        "exclude-from-classmap": [
            "**/dev/**",
            "**/update/**",
            "**/Test/**"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/",
            "Magento\\PhpStan\\": "dev/tests/static/framework/Magento/PhpStan/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    
    "extra": {
        "magento-force": "override",
        "composer-exit-on-patch-failure": true,
        "patches": {
            "magento/framework": {
                "MDVA-43395 security patch": "patches/composer/MDVA-43395_framework.patch",
                "MDVA-43443 security patch": "patches/composer/MDVA-43443_EE_2.4.3-p1_COMPOSER_v1-framework.patch",
                "Bug M2.4.4 + php 8.1 static:content:deploy -f": "patches/composer/Bug_M2.4.4_+_php_8.1_static:content:deploy_-f.patch"
            },
            "paypal/module-braintree-core": {
                "Adding variable check to getShippingAddress method": "patches/composer/adding_variable_check_to_getShippingAddress_method.patch"
            },
            "magento/magento2-base": {
                "PHP-error-reporting-level": "patches/composer/PHP-error-reporting-level.patch"
            },
   
        },
        "enable-patching": true,
        "magento-deploy-ignore": {
            "*": [
                "/pub/.htaccess",
                "/.user.ini",
                "/pub/.user.ini",
                "/.gitignore"
            ]
        }
    }
}

Steps to reproduce

  1. Update by composer using the next command:
composer require magento/product-community-edition 2.4.7-p1 -W
  1. Execute bin/magento se:up
  2. Get error

Expected result

Get nothing in command line after execute step 2.

Actual result

Error


There is an error in /var/www/html/vendor/magento/module-inventory-bundle-product-indexer/Indexer/SourceItemIndexerProcessor.php at line: 17
Interface "Magento\InventoryIndexer\Indexer\SourceItem\CompositeProductProcessorInterface" not found#0 /var/www/html/vendor/composer/ClassLoader.php(576): include()
#1 /var/www/html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/html/v...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Magento\\Invento...')
#3 /var/www/html/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists('Magento\\Invento...')
#4 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(157): Magento\Framework\ObjectManager\Relations\Runtime->has('Magento\\Invento...')
#5 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(180): Magento\Framework\Interception\Config\Config->_inheritInterception('Magento\\Invento...')
#6 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(213): Magento\Framework\Interception\Config\Config->hasPlugins('Magento\\Invento...')
#7 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(190): Magento\Framework\Interception\Config\Config->generateIntercepted(Array)
#8 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(122): Magento\Framework\Interception\Config\Config->initializeUncompiled(Array)
#9 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Interception\Config\Config->__construct(Object(Magento\Framework\ObjectManager\Config\Reader\Dom\Proxy), Object(Magento\Framework\Config\Scope), Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Framework\ObjectManager\Relations\Runtime), Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Object(Magento\Framework\ObjectManager\Definition\Runtime), 'interception', NULL, NULL)
#10 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#11 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(73): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#12 /var/www/html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(84): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#13 /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Array)
#14 /var/www/html/setup/src/Magento/Setup/Model/ObjectManagerProvider.php(62): Magento\Framework\App\ObjectManagerFactory->create(Array)
#15 /var/www/html/setup/src/Magento/Setup/Model/SearchConfigFactory.php(36): Magento\Setup\Model\ObjectManagerProvider->get()
#16 /var/www/html/setup/src/Magento/Setup/Console/Command/UpgradeCommand.php(144): Magento\Setup\Model\SearchConfigFactory->create()
#17 /var/www/html/vendor/symfony/console/Command/Command.php(326): Magento\Setup\Console\Command\UpgradeCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Setup\Console\Command\UpgradeCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/vendor/magento/framework/Console/Cli.php(118): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/html/vendor/symfony/console/Application.php(175): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /var/www/html/bin/magento(23): Symfony\Component\Console\Application->run()
#23 {main}

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.7-p1Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions