magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.47k stars 9.28k forks source link

Cannot instantiate interface #35941

Closed cctorres closed 2 years ago

cctorres commented 2 years ago

Preconditions and environment

Steps to reproduce

  1. composer require-commerce magento/product-enterprise-edition 2.4.5 --no-update
  2. Composer update
  3. bin/magento setup:upgrade

Expected result

Upgrade completed succesfully

Actual result

Cannot instantiate interface Magento\AdobeImsApi\Api\ConfigInterface#0 /store2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\AdobeIm...')

Additional information

I tried app>etc>config.php

'Magento_AdobeImsApi' => 0, and 'Magento_AdobeImsApi' => 1,

And it did not work in both.

Release note

No response

Triage and priority

m2-assistant[bot] commented 2 years ago

Hi @cctorres. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

alex9434 commented 2 years ago

I have the same issue: After upgrade from Magento 2.3.x to 2.4.5. bin/magento setup:upgrade provides the following output:

Cannot instantiate interface Magento\MediaGalleryApi\Model\Asset\Command\GetByPathInterface#0 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaGa...')
#1 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaGa...')
#2 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaGa...', NULL, 'getMediaAssetBy...', 'Magento\\MediaCo...')
#3 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaCo...', Array, Array)
#4 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaCo...', Array, Array)
#5 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaCo...', Array, Array)
#6 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaCo...')
#7 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaCo...')
#8 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaCo...', NULL, 'extractAssetFro...', 'Magento\\MediaCo...')
#9 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaCo...', Array, Array)
#10 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaCo...', Array, Array)
#11 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaCo...', Array, Array)
#12 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaCo...')
#13 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaCo...')
#14 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaCo...', NULL, 'updateContentAs...', 'Magento\\MediaCo...')
#15 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaCo...', Array, Array)
#16 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaCo...', Array, Array)
#17 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaCo...', Array, Array)
#18 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaCo...')
#19 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(206): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaCo...')
#20 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(182): Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray(Array)
#21 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, NULL, Array, 'synchronizers', 'Magento\\MediaCo...')
#22 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaCo...', Array, Array)
#23 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaCo...', Array, Array)
#24 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaCo...', Array, Array)
#25 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaCo...')
#26 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaCo...')
#27 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaCo...', NULL, 'synchronizerPoo...', 'Magento\\MediaCo...')
#28 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaCo...', Array, Array)
#29 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaCo...', Array, Array)
#30 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaCo...', Array, Array)
#31 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaCo...')
#32 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaCo...')
#33 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaCo...', NULL, 'synchronizeCont...', 'Magento\\MediaCo...')
#34 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaCo...', Array, Array)
#35 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaCo...', Array, Array)
#36 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaCo...', Array, Array)
#37 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaCo...')
#38 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(206): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaCo...')
#39 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(182): Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray(Array)
#40 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, NULL, Array, 'commands', 'Magento\\Framewo...')
#41 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array)
#42 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array)
#43 /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#44 /var/www/html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array)
#45 /var/www/html/magento2/vendor/magento/framework/Console/Cli.php(154): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...')
#46 /var/www/html/magento2/vendor/magento/framework/Console/Cli.php(135): Magento\Framework\Console\Cli->getApplicationCommands()
#47 /var/www/html/magento2/vendor/symfony/console/Application.php(1274): Magento\Framework\Console\Cli->getDefaultCommands()
#48 /var/www/html/magento2/vendor/symfony/console/Application.php(629): Symfony\Component\Console\Application->init()
#49 /var/www/html/magento2/vendor/symfony/console/Application.php(237): Symfony\Component\Console\Application->find('module:status')
#50 /var/www/html/magento2/vendor/magento/framework/Console/Cli.php(116): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#51 /var/www/html/magento2/vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#52 /var/www/html/magento2/bin/magento(23): Symfony\Component\Console\Application->run()
#53 {main}

Followed the instructions on https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/implementation/perform-upgrade.html. System is PHP 8.1 on Debian Bullseye on aarch64.

gwharton commented 2 years ago

Try disabling all Magento_AdminAdobeIms aswell. I had to disable all three.

cctorres commented 2 years ago

Try disabling all Magento_AdminAdobeIms aswell. I had to disable all three.

I have them disabled

this is my cofing.php

'Magento_Store' => 1, 'Magento_AdminAnalytics' => 1, 'Magento_AdminNotification' => 1, 'Magento_AdminGwsConfigurableProduct' => 1, 'Magento_AdminGwsStaging' => 1, 'Magento_Directory' => 1, 'Magento_AdobeIms' => 0, 'Magento_AdobeImsApi' => 0, 'Magento_AdobeStockAdminUi' => 0, 'Magento_MediaGallery' => 1, 'Magento_AdobeStockAssetApi' => 0, 'Magento_AdobeStockClient' => 0, 'Magento_AdobeStockClientApi' => 0, 'Magento_AdobeStockImage' => 0, 'Magento_Theme' => 1, 'Magento_AdobeStockImageApi' => 0, 'Magento_Eav' => 1, 'Magento_Customer' => 1, 'Magento_AdvancedPricingImportExport' => 1, 'Magento_Rule' => 1, 'Magento_Indexer' => 1, 'Magento_Backend' => 1, 'Magento_Amqp' => 1, 'Magento_Config' => 1, 'Magento_Variable' => 1, 'Magento_Authorization' => 1, 'Magento_User' => 1, 'Magento_Cms' => 1, 'Magento_Catalog' => 1, 'Magento_AwsS3CustomerCustomAttributes' => 1, 'Magento_GiftCardImportExport' => 0, 'Magento_Widget' => 1, 'Magento_ImportExport' => 1, 'Magento_AdminAdobeIms' => 0, 'Magento_Backup' => 1, 'Magento_CatalogRule' => 1, 'Magento_Quote' => 1, 'Magento_SalesSequence' => 1, 'Magento_Payment' => 1, 'Magento_Sales' => 1, 'Magento_Bundle' => 1, 'Magento_GraphQl' => 1, 'Magento_BundleImportExport' => 1, 'Magento_BundleImportExportStaging' => 1, 'Magento_CatalogInventory' => 1, 'Magento_CacheInvalidate' => 1, 'Magento_Checkout' => 1, 'Magento_CardinalCommerce' => 0, 'Magento_AdvancedCatalog' => 1, 'Magento_Security' => 1, 'Magento_CmsGraphQl' => 1, 'Magento_EavGraphQl' => 1, 'Magento_Search' => 1, 'Magento_SalesArchive' => 1, 'Magento_CatalogImportExport' => 1, 'Magento_CatalogImportExportStaging' => 1, 'Magento_StoreGraphQl' => 1, 'Magento_CatalogInventoryGraphQl' => 0, 'Magento_CatalogSearch' => 1, 'Magento_CatalogPageBuilderAnalytics' => 1, 'Magento_CatalogPageBuilderAnalyticsStaging' => 1, 'Magento_CatalogUrlRewrite' => 1, 'Magento_Ui' => 1, 'Magento_CustomerCustomAttributes' => 1, 'Magento_Msrp' => 1, 'Magento_CatalogRuleGraphQl' => 1, 'Magento_SalesRule' => 1, 'Magento_Captcha' => 1, 'Magento_Downloadable' => 1, 'Magento_Staging' => 1, 'Magento_GiftCard' => 0, 'Magento_Wishlist' => 1, 'Magento_CatalogGraphQl' => 1, 'Magento_MediaStorage' => 1, 'Magento_Robots' => 1, 'Magento_ConfigurableProduct' => 1, 'Magento_CheckoutAddressSearch' => 1, 'Magento_GiftRegistry' => 1, 'Magento_CheckoutAgreements' => 1, 'Magento_CheckoutAgreementsGraphQl' => 1, 'Magento_CheckoutStaging' => 1, 'Magento_MediaGalleryUi' => 1, 'Magento_CatalogCmsGraphQl' => 1, 'Magento_CmsPageBuilderAnalytics' => 1, 'Magento_CmsPageBuilderAnalyticsStaging' => 1, 'Magento_VersionsCms' => 1, 'Magento_CmsUrlRewrite' => 1, 'Magento_CmsUrlRewriteGraphQl' => 1, 'Magento_CompareListGraphQl' => 1, 'Magento_ComposerRootUpdatePlugin' => 1, 'Magento_Integration' => 1, 'Magento_ConfigurableImportExport' => 1, 'Magento_CatalogRuleConfigurable' => 1, 'Magento_QuoteGraphQl' => 1, 'Magento_ConfigurableProductSales' => 1, 'Magento_PageCache' => 1, 'Magento_Contact' => 1, 'Magento_Cookie' => 1, 'Magento_Cron' => 1, 'Magento_Csp' => 1, 'Magento_CurrencySymbol' => 1, 'Magento_CustomAttributeManagement' => 1, 'Magento_AdvancedCheckout' => 1, 'Magento_Analytics' => 1, 'Magento_CustomerBalance' => 1, 'Magento_CustomerBalanceGraphQl' => 1, 'Magento_CustomerSegment' => 1, 'Magento_DownloadableGraphQl' => 1, 'Magento_CustomerFinance' => 1, 'Magento_CustomerGraphQl' => 1, 'Magento_CustomerImportExport' => 1, 'Magento_CatalogWidget' => 1, 'Magento_DeferredTotalCalculating' => 1, 'Magento_Deploy' => 1, 'Magento_Developer' => 1, 'Magento_Dhl' => 1, 'Magento_BundleGraphQl' => 1, 'Magento_DirectoryGraphQl' => 1, 'Magento_ProductAlert' => 1, 'Magento_CustomerDownloadableGraphQl' => 1, 'Magento_DownloadableImportExport' => 1, 'Magento_TargetRule' => 1, 'Magento_AdvancedRule' => 1, 'Magento_CatalogCustomerGraphQl' => 1, 'Magento_AdvancedSearch' => 1, 'Magento_Elasticsearch' => 1, 'Magento_Elasticsearch6' => 1, 'Magento_WebsiteRestriction' => 1, 'Magento_ElasticsearchCatalogPermissionsGraphQl' => 1, 'Magento_Email' => 1, 'Magento_EncryptionKey' => 1, 'Magento_Enterprise' => 1, 'Magento_Fedex' => 1, 'Magento_Tax' => 1, 'Magento_GiftCardAccount' => 0, 'Magento_GiftCardAccountGraphQl' => 0, 'Magento_WishlistGraphQl' => 1, 'Magento_Sitemap' => 1, 'Magento_CatalogEvent' => 1, 'Magento_GiftMessage' => 1, 'Magento_GiftMessageGraphQl' => 1, 'Magento_GiftMessageStaging' => 1, 'Magento_UrlRewrite' => 1, 'Magento_GiftRegistryGraphQl' => 1, 'Magento_GiftWrapping' => 0, 'Magento_GiftWrappingGraphQl' => 0, 'Magento_GiftWrappingStaging' => 0, 'Magento_GoogleAdwords' => 1, 'Magento_GoogleAnalytics' => 1, 'Magento_GoogleGtag' => 1, 'Magento_GoogleOptimizer' => 1, 'Magento_GoogleOptimizerStaging' => 1, 'Magento_GoogleShoppingAds' => 1, 'Magento_Banner' => 1, 'Magento_AsyncOrder' => 1, 'Magento_GraphQlCache' => 1, 'Magento_GroupedProduct' => 1, 'Magento_GroupedImportExport' => 1, 'Magento_GroupedCatalogInventory' => 1, 'Magento_GroupedProductGraphQl' => 1, 'Magento_VisualMerchandiser' => 1, 'Magento_RemoteStorage' => 1, 'Magento_CatalogPermissions' => 1, 'Magento_InstantPurchase' => 1, 'Magento_CatalogAnalytics' => 1, 'Magento_Inventory' => 0, 'Magento_InventoryApi' => 0, 'Magento_InventoryCatalogApi' => 0, 'Magento_InventoryConfigurationApi' => 0, 'Magento_InventorySales' => 0, 'Magento_InventoryMultiDimensionalIndexerApi' => 0, 'Magento_InventoryReservationsApi' => 0, 'Magento_InventoryIndexer' => 0, 'Magento_InventorySalesApi' => 0, 'Magento_InventorySourceDeductionApi' => 0, 'Magento_InventorySourceSelectionApi' => 0, 'Magento_Reports' => 1, 'Magento_JwtFrameworkAdapter' => 1, 'Magento_JwtUserToken' => 1, 'Magento_LayeredNavigation' => 1, 'Magento_LayeredNavigationStaging' => 1, 'Magento_Logging' => 1, 'Magento_LoginAsCustomer' => 1, 'Magento_LoginAsCustomerAdminUi' => 1, 'Magento_LoginAsCustomerApi' => 1, 'Magento_LoginAsCustomerAssistance' => 1, 'Magento_LoginAsCustomerFrontendUi' => 1, 'Magento_LoginAsCustomerGraphQl' => 1, 'Magento_LoginAsCustomerLog' => 1, 'Magento_LoginAsCustomerLogging' => 1, 'Magento_LoginAsCustomerPageCache' => 1, 'Magento_LoginAsCustomerQuote' => 1, 'Magento_LoginAsCustomerSales' => 1, 'Magento_LoginAsCustomerWebsiteRestriction' => 1, 'Magento_Marketplace' => 1, 'Magento_MediaContent' => 1, 'Magento_MediaContentApi' => 1, 'Magento_MediaContentCatalog' => 1, 'Magento_MediaContentCatalogStaging' => 1, 'Magento_MediaContentCms' => 1, 'Magento_MediaContentSynchronization' => 1, 'Magento_MediaContentSynchronizationApi' => 1, 'Magento_MediaContentSynchronizationCatalog' => 1, 'Magento_MediaContentSynchronizationCms' => 1, 'Magento_AdobeStockAsset' => 0, 'Magento_MediaGalleryApi' => 1, 'Magento_MediaGalleryCatalog' => 1, 'Magento_MediaGalleryCatalogIntegration' => 1, 'Magento_MediaGalleryCatalogUi' => 1, 'Magento_MediaGalleryCmsUi' => 1, 'Magento_MediaGalleryIntegration' => 1, 'Magento_MediaGalleryMetadata' => 1, 'Magento_MediaGalleryMetadataApi' => 1, 'Magento_MediaGalleryRenditions' => 1, 'Magento_MediaGalleryRenditionsApi' => 1, 'Magento_MediaGallerySynchronization' => 1, 'Magento_MediaGallerySynchronizationApi' => 1, 'Magento_MediaGallerySynchronizationMetadata' => 1, 'Magento_AdobeStockImageAdminUi' => 0, 'Magento_MediaGalleryUiApi' => 1, 'Magento_AwsS3' => 1, 'Magento_MessageQueue' => 1, 'Magento_Weee' => 1, 'Magento_MsrpConfigurableProduct' => 1, 'Magento_MsrpGroupedProduct' => 1, 'Magento_MsrpStaging' => 1, 'Magento_MultipleWishlist' => 0, 'Magento_SalesGraphQl' => 1, 'Magento_Multishipping' => 1, 'Magento_MysqlMq' => 1, 'Magento_NewRelicReporting' => 1, 'Magento_Newsletter' => 1, 'Magento_NewsletterGraphQl' => 1, 'Magento_OfflinePayments' => 1, 'Magento_OfflineShipping' => 1, 'Magento_BannerCustomerSegment' => 1, 'Magento_PageBuilder' => 1, 'Magento_AdminGws' => 1, 'Magento_PageBuilderAnalytics' => 1, 'Magento_CatalogStaging' => 1, 'Magento_PageBuilderAdminGwsAdminUi' => 1, 'Magento_PaymentGraphQl' => 1, 'Magento_PaymentStaging' => 1, 'Magento_Vault' => 1, 'Magento_Paypal' => 1, 'Magento_PaypalGraphQl' => 1, 'Magento_Persistent' => 1, 'Magento_PersistentHistory' => 1, 'Magento_PricePermissions' => 1, 'Magento_DownloadableStaging' => 1, 'Magento_ProductVideo' => 1, 'Magento_ProductVideoStaging' => 1, 'Magento_PromotionPermissions' => 1, 'Magento_BannerGraphQl' => 1, 'Magento_QuoteAnalytics' => 1, 'Magento_QuoteBundleOptions' => 1, 'Magento_QuoteConfigurableOptions' => 1, 'Magento_QuoteDownloadableLinks' => 1, 'Magento_QuoteGiftCardOptions' => 1, 'Magento_ConfigurableProductGraphQl' => 1, 'Magento_QuoteStaging' => 1, 'Magento_ReCaptchaAdminUi' => 1, 'Magento_ReCaptchaCheckout' => 1, 'Magento_ReCaptchaCheckoutSalesRule' => 1, 'Magento_ReCaptchaContact' => 1, 'Magento_ReCaptchaCustomer' => 1, 'Magento_ReCaptchaFrontendUi' => 1, 'Magento_ReCaptchaGiftCard' => 1, 'Magento_ReCaptchaInvitation' => 1, 'Magento_ReCaptchaMigration' => 1, 'Magento_ReCaptchaMultipleWishlist' => 1, 'Magento_ReCaptchaNewsletter' => 1, 'Magento_ReCaptchaPaypal' => 1, 'Magento_ReCaptchaReview' => 1, 'Magento_ReCaptchaSendFriend' => 1, 'Magento_ReCaptchaStorePickup' => 1, 'Magento_ReCaptchaUi' => 1, 'Magento_ReCaptchaUser' => 1, 'Magento_ReCaptchaValidation' => 1, 'Magento_ReCaptchaValidationApi' => 1, 'Magento_ReCaptchaVersion2Checkbox' => 1, 'Magento_ReCaptchaVersion2Invisible' => 1, 'Magento_ReCaptchaVersion3Invisible' => 1, 'Magento_ReCaptchaWebapiApi' => 1, 'Magento_ReCaptchaWebapiGraphQl' => 1, 'Magento_ReCaptchaWebapiRest' => 1, 'Magento_ReCaptchaWebapiUi' => 1, 'Magento_RelatedProductGraphQl' => 1, 'Magento_ReleaseNotification' => 1, 'Magento_Reminder' => 1, 'Magento_AwsS3GiftCardImportExport' => 1, 'Magento_RemoteStorageCommerce' => 1, 'Magento_Invitation' => 1, 'Magento_RequireJs' => 1, 'Magento_ResourceConnections' => 1, 'Magento_Review' => 0, 'Magento_ReviewAnalytics' => 0, 'Magento_ReviewGraphQl' => 1, 'Magento_ReviewStaging' => 0, 'Magento_Reward' => 1, 'Magento_RewardGraphQl' => 1, 'Magento_AdvancedSalesRule' => 1, 'Magento_Rma' => 0, 'Magento_Shipping' => 1, 'Magento_RmaStaging' => 0, 'Magento_ScheduledImportExport' => 1, 'Magento_Rss' => 1, 'Magento_SalesRuleStaging' => 1, 'Magento_BannerPageBuilderAnalytics' => 1, 'Magento_SalesAnalytics' => 1, 'Magento_AsyncOrderGraphQl' => 1, 'Magento_MultipleWishlistGraphQl' => 1, 'Magento_SalesInventory' => 1, 'Magento_CatalogRuleStaging' => 1, 'Magento_RewardStaging' => 1, 'Magento_BannerPageBuilder' => 1, 'Magento_SampleData' => 1, 'Magento_ScalableCheckout' => 1, 'Magento_ScalableInventory' => 1, 'Magento_ScalableOms' => 1, 'Magento_AwsS3ScheduledImportExport' => 1, 'Magento_Elasticsearch7' => 1, 'Magento_SearchStaging' => 1, 'Magento_CustomerAnalytics' => 1, 'Magento_Securitytxt' => 1, 'Magento_SendFriend' => 1, 'Magento_SendFriendGraphQl' => 1, 'Magento_ServicesConnector' => 1, 'Magento_RmaGraphQl' => 0, 'Magento_AwsS3PageBuilder' => 1, 'Magento_StagingGraphQl' => 1, 'Magento_CatalogStagingGraphQl' => 1, 'Magento_StagingPageBuilder' => 1, 'Magento_CatalogPermissionsGraphQl' => 1, 'Magento_UrlRewriteGraphQl' => 1, 'Magento_Support' => 1, 'Magento_Webapi' => 1, 'Magento_SwaggerWebapi' => 1, 'Magento_SwaggerWebapiAsync' => 1, 'Magento_Swat' => 1, 'Magento_Swatches' => 1, 'Magento_SwatchesGraphQl' => 1, 'Magento_SwatchesLayeredNavigation' => 1, 'Magento_CatalogInventoryStaging' => 1, 'Magento_TargetRuleGraphQl' => 1, 'Magento_GiftCardStaging' => 1, 'Magento_TaxGraphQl' => 1, 'Magento_TaxImportExport' => 1, 'Magento_GoogleTagManager' => 1, 'Magento_ThemeGraphQl' => 1, 'Magento_Translation' => 1, 'Magento_TwoFactorAuth' => 0, 'Magento_ElasticsearchCatalogPermissions' => 1, 'Magento_Ups' => 1, 'Magento_CatalogUrlRewriteStaging' => 1, 'Magento_CatalogUrlRewriteGraphQl' => 1, 'Magento_AsynchronousOperations' => 1, 'Magento_Usps' => 1, 'Magento_GroupedProductStaging' => 1, 'Magento_PaypalCaptcha' => 1, 'Magento_VaultGraphQl' => 1, 'Magento_Version' => 0, 'Magento_CmsStaging' => 1, 'Magento_VersionsCmsPageCache' => 1, 'Magento_VersionsCmsUrlRewrite' => 1, 'Magento_VersionsCmsUrlRewriteGraphQl' => 1, 'Magento_BundleStaging' => 1, 'Magento_Swagger' => 1, 'Magento_WebapiAsync' => 1, 'Magento_WebapiSecurity' => 1, 'Magento_ConfigurableProductStaging' => 1, 'Magento_CatalogStagingPageBuilder' => 1, 'Magento_WeeeGraphQl' => 1, 'Magento_WeeeStaging' => 1, 'Magento_PageBuilderAdminAnalytics' => 1, 'Magento_CheckoutAddressSearchGiftRegistry' => 1, 'Magento_WishlistAnalytics' => 1, 'Magento_WishlistGiftCard' => 1, 'Magento_WishlistGiftCardGraphQl' => 1, 'Magento_GiftCardGraphQl' => 0,

gwharton commented 2 years ago

Oh, not sure then.

Magento\AdobeImsApi\Api\ConfigInterface is only referenced by two modules in the whole magento tree. That is

Magento_AdobeIms and Magento_AdminAdobeIms

gwharton commented 2 years ago

The Magento_AdminAdobeIms module is new in 2.4.5, so anyone who had Magento_AdobeIms and Magento_AdobeImsApi disabled in 2.4.4 and then updated to 2.4.5 will face this issue until Magento_AdminAdobeIms is also disabled.

cctorres commented 2 years ago

Ims

So.... do you think iI have to wait? and thanks for answering

m2-assistant[bot] commented 2 years ago

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:


engcom-Dash commented 2 years ago

Hi @cctorres,

We are trying to reproduce the issue,But we are not able to reproduce the issue in 2.4.3 instance.

Here instance upgraded successfully....

For your reference i attached the screenshots: Screenshot from 2022-08-16 14-42-48 Screenshot from 2022-08-16 14-39-47

Steps :

  1. Install 2.4.3 instance
  2. Update the instance to 2.4.5
  3. Upgraded successfully

Let us know if we are missing anything...

Thanks!!!

cctorres commented 2 years ago

Hi @cctorres,

We are trying to reproduce the issue,But we are not able to reproduce the issue in 2.4.3 instance.

Here instance upgraded successfully....

For your reference i attached the screenshots: Screenshot from 2022-08-16 14-42-48 Screenshot from 2022-08-16 14-39-47

Steps :

  1. Install 2.4.3 instance
  2. Update the instance to 2.4.5
  3. Upgraded successfully

Let us know if we are missing anything...

Thanks!!!

Thanks for answering, Did you do the setup:upgrade? And could you show me the app/etc/config.php file?

engcom-Dash commented 2 years ago

Hi @cctorres ,

I upgrade the setup using setup:upgrade command only...

here i attached config.php file for your reference....

<?php return [ 'modules' => [ 'Magento_AdminAnalytics' => 1, 'Magento_Store' => 1, 'Magento_AdobeIms' => 1, 'Magento_AdobeImsApi' => 1, 'Magento_AdobeStockAdminUi' => 1, 'Magento_MediaGallery' => 1, 'Magento_AdobeStockAssetApi' => 1, 'Magento_AdobeStockClient' => 1, 'Magento_AdobeStockClientApi' => 1, 'Magento_AdobeStockImage' => 1, 'Magento_Directory' => 1, 'Magento_AdobeStockImageApi' => 1, 'Magento_AdvancedPricingImportExport' => 1, 'Magento_Theme' => 1, 'Magento_Amqp' => 1, 'Magento_AmqpStore' => 1, 'Magento_Config' => 1, 'Magento_Backend' => 1, 'Magento_Authorization' => 1, 'Magento_Eav' => 1, 'Magento_Variable' => 1, 'Magento_Search' => 1, 'Magento_Backup' => 1, 'Magento_Customer' => 1, 'Magento_AdminNotification' => 1, 'Magento_BundleImportExport' => 1, 'Magento_CacheInvalidate' => 1, 'Magento_Indexer' => 1, 'Magento_Cms' => 1, 'Magento_Rule' => 1, 'Magento_Security' => 1, 'Magento_GraphQl' => 1, 'Magento_EavGraphQl' => 1, 'Magento_StoreGraphQl' => 1, 'Magento_CatalogImportExport' => 1, 'Magento_Catalog' => 1, 'Magento_CatalogInventory' => 1, 'Magento_CatalogPageBuilderAnalytics' => 1, 'Magento_CatalogRule' => 1, 'Magento_Msrp' => 1, 'Magento_CatalogRuleGraphQl' => 1, 'Magento_CatalogSearch' => 1, 'Magento_CatalogUrlRewrite' => 1, 'Magento_CatalogGraphQl' => 1, 'Magento_MediaStorage' => 1, 'Magento_Quote' => 1, 'Magento_SalesSequence' => 1, 'Magento_CheckoutAgreementsGraphQl' => 1, 'Magento_MediaGalleryUi' => 1, 'Magento_CmsGraphQl' => 1, 'Magento_CmsPageBuilderAnalytics' => 1, 'Magento_CmsUrlRewrite' => 1, 'Magento_CmsUrlRewriteGraphQl' => 1, 'Magento_CompareListGraphQl' => 1, 'Magento_ComposerRootUpdatePlugin' => 1, 'Magento_User' => 1, 'Magento_Payment' => 1, 'Magento_Sales' => 1, 'Magento_QuoteGraphQl' => 1, 'Magento_Checkout' => 1, 'Magento_Contact' => 1, 'Magento_Cookie' => 1, 'Magento_Cron' => 1, 'Magento_Csp' => 1, 'Magento_Widget' => 1, 'Magento_Robots' => 1, 'Magento_Integration' => 1, 'Magento_Downloadable' => 1, 'Magento_CustomerGraphQl' => 1, 'Magento_CustomerImportExport' => 1, 'Magento_Deploy' => 1, 'Magento_Developer' => 1, 'Magento_Dhl' => 1, 'Magento_Bundle' => 1, 'Magento_DirectoryGraphQl' => 1, 'Magento_DownloadableGraphQl' => 1, 'Magento_CustomerDownloadableGraphQl' => 1, 'Magento_ImportExport' => 1, 'Magento_CatalogCustomerGraphQl' => 1, 'Magento_BundleGraphQl' => 1, 'Magento_AdvancedSearch' => 1, 'Magento_Elasticsearch' => 1, 'Magento_Elasticsearch6' => 1, 'Magento_Email' => 1, 'Magento_EncryptionKey' => 1, 'Magento_Fedex' => 1, 'Magento_GiftMessage' => 1, 'Magento_GiftMessageGraphQl' => 1, 'Magento_GoogleAdwords' => 1, 'Magento_GoogleAnalytics' => 1, 'Magento_Ui' => 1, 'Magento_GoogleShoppingAds' => 1, 'Magento_CatalogCmsGraphQl' => 1, 'Magento_PageCache' => 1, 'Magento_GroupedProduct' => 1, 'Magento_GroupedImportExport' => 1, 'Magento_GroupedCatalogInventory' => 1, 'Magento_GroupedProductGraphQl' => 1, 'Magento_DownloadableImportExport' => 1, 'Magento_Captcha' => 1, 'Magento_InstantPurchase' => 1, 'Magento_Analytics' => 1, 'Magento_Inventory' => 1, 'Magento_InventoryAdminUi' => 1, 'Magento_InventoryAdvancedCheckout' => 1, 'Magento_InventoryApi' => 1, 'Magento_InventoryBundleImportExport' => 1, 'Magento_InventoryBundleProduct' => 1, 'Magento_InventoryBundleProductAdminUi' => 1, 'Magento_InventoryBundleProductIndexer' => 1, 'Magento_InventoryCatalog' => 1, 'Magento_InventorySales' => 1, 'Magento_InventoryCatalogAdminUi' => 1, 'Magento_InventoryCatalogApi' => 1, 'Magento_InventoryCatalogFrontendUi' => 1, 'Magento_InventoryCatalogSearch' => 1, 'Magento_InventoryCatalogSearchBundleProduct' => 1, 'Magento_InventoryCatalogSearchConfigurableProduct' => 1, 'Magento_ConfigurableProduct' => 1, 'Magento_ConfigurableProductGraphQl' => 1, 'Magento_InventoryConfigurableProduct' => 1, 'Magento_InventoryConfigurableProductIndexer' => 1, 'Magento_InventoryConfiguration' => 1, 'Magento_InventoryConfigurationApi' => 1, 'Magento_InventoryDistanceBasedSourceSelection' => 1, 'Magento_InventoryDistanceBasedSourceSelectionAdminUi' => 1, 'Magento_InventoryDistanceBasedSourceSelectionApi' => 1, 'Magento_InventoryElasticsearch' => 1, 'Magento_InventoryExportStockApi' => 1, 'Magento_InventoryIndexer' => 1, 'Magento_InventorySalesApi' => 1, 'Magento_InventoryGroupedProduct' => 1, 'Magento_InventoryGroupedProductAdminUi' => 1, 'Magento_InventoryGroupedProductIndexer' => 1, 'Magento_InventoryImportExport' => 1, 'Magento_InventoryInStorePickupApi' => 1, 'Magento_InventoryInStorePickupAdminUi' => 1, 'Magento_InventorySourceSelectionApi' => 1, 'Magento_InventoryInStorePickup' => 1, 'Magento_InventoryInStorePickupGraphQl' => 1, 'Magento_Shipping' => 1, 'Magento_InventoryInStorePickupShippingApi' => 1, 'Magento_InventoryInStorePickupQuoteGraphQl' => 1, 'Magento_InventoryInStorePickupSales' => 1, 'Magento_InventoryInStorePickupSalesApi' => 1, 'Magento_InventoryInStorePickupQuote' => 1, 'Magento_InventoryInStorePickupShipping' => 1, 'Magento_InventoryInStorePickupShippingAdminUi' => 1, 'Magento_Multishipping' => 1, 'Magento_Webapi' => 1, 'Magento_InventoryCache' => 1, 'Magento_InventoryLowQuantityNotification' => 1, 'Magento_Reports' => 1, 'Magento_InventoryLowQuantityNotificationApi' => 1, 'Magento_InventoryMultiDimensionalIndexerApi' => 1, 'Magento_InventoryProductAlert' => 1, 'Magento_InventoryQuoteGraphQl' => 1, 'Magento_InventoryRequisitionList' => 1, 'Magento_InventoryReservations' => 1, 'Magento_InventoryReservationCli' => 1, 'Magento_InventoryReservationsApi' => 1, 'Magento_InventoryExportStock' => 1, 'Magento_InventorySalesAdminUi' => 1, 'Magento_CatalogInventoryGraphQl' => 1, 'Magento_InventorySalesFrontendUi' => 1, 'Magento_InventorySetupFixtureGenerator' => 1, 'Magento_InventoryShipping' => 1, 'Magento_InventoryShippingAdminUi' => 1, 'Magento_InventorySourceDeductionApi' => 1, 'Magento_InventorySourceSelection' => 1, 'Magento_InventoryInStorePickupFrontend' => 1, 'Magento_InventorySwatchesFrontendUi' => 1, 'Magento_InventoryVisualMerchandiser' => 1, 'Magento_InventoryWishlist' => 1, 'Magento_JwtFrameworkAdapter' => 1, 'Magento_LayeredNavigation' => 1, 'Magento_LoginAsCustomer' => 1, 'Magento_LoginAsCustomerAdminUi' => 1, 'Magento_LoginAsCustomerApi' => 1, 'Magento_LoginAsCustomerAssistance' => 1, 'Magento_LoginAsCustomerFrontendUi' => 1, 'Magento_LoginAsCustomerGraphQl' => 1, 'Magento_LoginAsCustomerLog' => 1, 'Magento_LoginAsCustomerPageCache' => 1, 'Magento_LoginAsCustomerQuote' => 1, 'Magento_LoginAsCustomerSales' => 1, 'Magento_Marketplace' => 1, 'Magento_MediaContent' => 1, 'Magento_MediaContentApi' => 1, 'Magento_MediaContentCatalog' => 1, 'Magento_MediaContentCms' => 1, 'Magento_MediaContentSynchronization' => 1, 'Magento_MediaContentSynchronizationApi' => 1, 'Magento_MediaContentSynchronizationCatalog' => 1, 'Magento_MediaContentSynchronizationCms' => 1, 'Magento_AdobeStockAsset' => 1, 'Magento_MediaGalleryApi' => 1, 'Magento_MediaGalleryCatalog' => 1, 'Magento_MediaGalleryCatalogIntegration' => 1, 'Magento_MediaGalleryCatalogUi' => 1, 'Magento_MediaGalleryCmsUi' => 1, 'Magento_MediaGalleryIntegration' => 1, 'Magento_MediaGalleryMetadata' => 1, 'Magento_MediaGalleryMetadataApi' => 1, 'Magento_MediaGalleryRenditions' => 1, 'Magento_MediaGalleryRenditionsApi' => 1, 'Magento_MediaGallerySynchronization' => 1, 'Magento_MediaGallerySynchronizationApi' => 1, 'Magento_MediaGallerySynchronizationMetadata' => 1, 'Magento_AdobeStockImageAdminUi' => 1, 'Magento_MediaGalleryUiApi' => 1, 'Magento_CatalogWidget' => 1, 'Magento_MessageQueue' => 1, 'Magento_ConfigurableImportExport' => 1, 'Magento_MsrpConfigurableProduct' => 1, 'Magento_MsrpGroupedProduct' => 1, 'Magento_InventoryInStorePickupMultishipping' => 1, 'Magento_MysqlMq' => 1, 'Magento_NewRelicReporting' => 1, 'Magento_Newsletter' => 1, 'Magento_NewsletterGraphQl' => 1, 'Magento_OfflinePayments' => 1, 'Magento_SalesRule' => 1, 'Magento_Sitemap' => 1, 'Magento_PageBuilder' => 1, 'Magento_PageBuilderAnalytics' => 1, 'Magento_GraphQlCache' => 1, 'Magento_CardinalCommerce' => 1, 'Magento_Vault' => 1, 'Magento_Paypal' => 1, 'Magento_PaypalGraphQl' => 1, 'Magento_Persistent' => 1, 'Magento_ProductAlert' => 1, 'Magento_ProductVideo' => 1, 'Magento_CheckoutAgreements' => 1, 'Magento_QuoteAnalytics' => 1, 'Magento_QuoteBundleOptions' => 1, 'Magento_QuoteConfigurableOptions' => 1, 'Magento_QuoteDownloadableLinks' => 1, 'Magento_InventoryConfigurableProductAdminUi' => 1, 'Magento_ReCaptchaAdminUi' => 1, 'Magento_ReCaptchaCheckout' => 1, 'Magento_ReCaptchaContact' => 1, 'Magento_ReCaptchaCustomer' => 1, 'Magento_ReCaptchaFrontendUi' => 1, 'Magento_ReCaptchaMigration' => 1, 'Magento_ReCaptchaNewsletter' => 1, 'Magento_ReCaptchaPaypal' => 1, 'Magento_ReCaptchaReview' => 1, 'Magento_ReCaptchaSendFriend' => 1, 'Magento_ReCaptchaStorePickup' => 1, 'Magento_ReCaptchaUi' => 1, 'Magento_ReCaptchaUser' => 1, 'Magento_ReCaptchaValidation' => 1, 'Magento_ReCaptchaValidationApi' => 1, 'Magento_ReCaptchaVersion2Checkbox' => 1, 'Magento_ReCaptchaVersion2Invisible' => 1, 'Magento_ReCaptchaVersion3Invisible' => 1, 'Magento_ReCaptchaWebapiApi' => 1, 'Magento_ReCaptchaWebapiGraphQl' => 1, 'Magento_ReCaptchaWebapiRest' => 1, 'Magento_ReCaptchaWebapiUi' => 1, 'Magento_RelatedProductGraphQl' => 1, 'Magento_ReleaseNotification' => 1, 'Magento_RemoteStorage' => 1, 'Magento_InventoryLowQuantityNotificationAdminUi' => 1, 'Magento_RequireJs' => 1, 'Magento_Review' => 1, 'Magento_ReviewAnalytics' => 1, 'Magento_ReviewGraphQl' => 1, 'Magento_AwsS3' => 1, 'Magento_Rss' => 1, 'Magento_PageBuilderAdminAnalytics' => 1, 'Magento_CatalogRuleConfigurable' => 1, 'Magento_SalesAnalytics' => 1, 'Magento_SalesGraphQl' => 1, 'Magento_SalesInventory' => 1, 'Magento_OfflineShipping' => 1, 'Magento_ConfigurableProductSales' => 1, 'Magento_UrlRewrite' => 1, 'Magento_Elasticsearch7' => 1, 'Magento_CustomerAnalytics' => 1, 'Magento_Securitytxt' => 1, 'Magento_SendFriend' => 1, 'Magento_SendFriendGraphQl' => 1, 'Magento_InventoryInStorePickupSalesAdminUi' => 1, 'Magento_AwsS3PageBuilder' => 1, 'Magento_InventoryGraphQl' => 1, 'Magento_UrlRewriteGraphQl' => 1, 'Magento_Swagger' => 1, 'Magento_SwaggerWebapi' => 1, 'Magento_SwaggerWebapiAsync' => 1, 'Magento_Swatches' => 1, 'Magento_SwatchesGraphQl' => 1, 'Magento_SwatchesLayeredNavigation' => 1, 'Magento_Tax' => 1, 'Magento_TaxGraphQl' => 1, 'Magento_TaxImportExport' => 1, 'Magento_AsynchronousOperations' => 1, 'Magento_ThemeGraphQl' => 1, 'Magento_Translation' => 1, 'Magento_TwoFactorAuth' => 0, 'Magento_GoogleOptimizer' => 1, 'Magento_Ups' => 1, 'Magento_SampleData' => 1, 'Magento_CatalogUrlRewriteGraphQl' => 1, 'Magento_CatalogAnalytics' => 1, 'Magento_Usps' => 1, 'Magento_InventoryConfigurableProductFrontendUi' => 1, 'Magento_PaypalCaptcha' => 1, 'Magento_VaultGraphQl' => 1, 'Magento_Version' => 1, 'Magento_InventoryInStorePickupWebapiExtension' => 1, 'Magento_WebapiAsync' => 1, 'Magento_WebapiSecurity' => 1, 'Magento_Weee' => 1, 'Magento_WeeeGraphQl' => 1, 'Magento_CurrencySymbol' => 1, 'Magento_Wishlist' => 1, 'Magento_WishlistAnalytics' => 1, 'Magento_WishlistGraphQl' => 1, 'Amazon_Core' => 1, 'Amazon_Login' => 1, 'Amazon_Payment' => 1, 'Dotdigitalgroup_Email' => 1, 'Dotdigitalgroup_Chat' => 1, 'Dotdigitalgroup_ChatGraphQl' => 1, 'Dotdigitalgroup_EmailGraphQl' => 1, 'Dotdigitalgroup_Sms' => 1, 'Klarna_Core' => 1, 'Klarna_Ordermanagement' => 1, 'Klarna_Kp' => 1, 'Klarna_Onsitemessaging' => 1, 'Klarna_KpGraphQl' => 1, 'PayPal_Braintree' => 1, 'PayPal_BraintreeGraphQl' => 1, 'Temando_ShippingRemover' => 1, 'Vertex_Tax' => 1, 'Vertex_AddressValidationApi' => 1, 'Vertex_RequestLoggingApi' => 1, 'Vertex_RequestLogging' => 1, 'Vertex_AddressValidation' => 1, 'Yotpo_Yotpo' => 1 ] ];

alex9434 commented 2 years ago

I have attempted upgrade from 2.3.7-p4 to 2.4.5 following the instructions on the Adobe website. I get the above error running setup:upgrade. Happy to set-up a temporary SSH so that you can investigate.

matutetandil commented 2 years ago

I'm trying to update from 2.4.3.-p1, and even though the s:up works (after disabling the 3 modules), when I try to run s:d:c: I'm getting this error:

In ClassReader.php line 57:

  Impossible to process constructor argument Parameter #8 [ <required> Magento\AdminAdobeIms\Service\ImsConfig $adminAdobeImsConfig ] of Magento\TwoFactorAuth\Observer\ControllerActionPredispatch class

In GetParameterClassTrait.php line 34:

  Class "Magento\AdminAdobeIms\Service\ImsConfig" does not exist

setup:di:compile
gwharton commented 2 years ago

Possible duplicate of #35962

amine-y commented 2 years ago

This happens for me too I have to disable Magento_AdobeImsApi Magento_AdobeIms Magento_AdminAdobeIms from app/etc/config.php clearing the generated folder and var/cache

And this error disappeared

amine-y commented 2 years ago

Hi @cctorres,

We are trying to reproduce the issue,But we are not able to reproduce the issue in 2.4.3 instance.

Here instance upgraded successfully....

For your reference i attached the screenshots: Screenshot from 2022-08-16 14-42-48 Screenshot from 2022-08-16 14-39-47

Steps :

  1. Install 2.4.3 instance
  2. Update the instance to 2.4.5
  3. Upgraded successfully

Let us know if we are missing anything...

Thanks!!!

You need to install a Magento 2.4.3 or 2.4.4 then make sure that this module is enabled: Magento_AdminAdobeIms and those are disabled: Magento_AdobeIms Magento_AdobeImsApi Magento_AdobeStockAdminUi

Then upgrade to Magento 2.4.5

Then try to run: bin/magento setup:di:compile

W679065 commented 2 years ago

This happens for me too I have to disable Magento_AdobeImsApi Magento_AdobeIms Magento_AdminAdobeIms from app/etc/config.php clearing the generated folder and var/cache

And this error disappeared

But I have disabled the three modules you mentioned, and the error has not disappeared

amine-y commented 2 years ago

Did you clear the cache ? manually using rm -rf ?

W679065 commented 2 years ago

rm -rf var/cache/ rm -rf var/cache/ rm -rf var/page_cache/* I used the above three commands to clear the cache first

amine-y commented 2 years ago

rm -rf var/cache/ rm -rf var/cache/ rm -rf var/page_cache/* I used the above three commands to clear the cache first

try: rm -rf generated/*

W679065 commented 2 years ago

rm -rf generated/*

Still the same

amine-y commented 2 years ago

rm -rf generated/*

Still the same

can you post the content of app/etc/config.php file ?

W679065 commented 2 years ago

rm -rf generated/*

Still the same

can you post the content of app/etc/config.php file ?

<?php return [ 'modules' => [ 'Magento_Store' => 1, 'Magento_AdminAnalytics' => 0, 'Magento_AdminNotification' => 1, 'Magento_AdminGwsConfigurableProduct' => 0, 'Magento_AdminGwsStaging' => 0, 'Magento_Directory' => 1, 'Magento_AdobeIms' => 0, 'Magento_AdobeImsApi' => 0, 'Magento_AdobeStockAdminUi' => 0, 'Magento_MediaGallery' => 1, 'Magento_AdobeStockAssetApi' => 0, 'Magento_AdobeStockClient' => 0, 'Magento_AdobeStockClientApi' => 0, 'Magento_AdobeStockImage' => 0, 'Magento_Theme' => 1, 'Magento_AdobeStockImageApi' => 0, 'Magento_Eav' => 1, 'Magento_Customer' => 1, 'Magento_AdvancedPricingImportExport' => 1, 'Magento_Rule' => 1, 'Magento_Indexer' => 1, 'Magento_Backend' => 1, 'Magento_Amqp' => 1, 'Magento_Config' => 1, 'Magento_Variable' => 1, 'Magento_Authorization' => 1, 'Magento_User' => 1, 'Magento_Cms' => 1, 'Magento_Catalog' => 1, 'Magento_AwsS3CustomerCustomAttributes' => 1, 'Magento_GiftCardImportExport' => 1, 'Magento_Widget' => 1, 'Magento_ImportExport' => 1, 'Magento_AdminAdobeIms' => 0, 'Magento_Backup' => 1, 'Magento_CatalogRule' => 1, 'Magento_Quote' => 1, 'Magento_SalesSequence' => 1, 'Magento_Payment' => 1, 'Magento_Sales' => 1, 'Magento_Bundle' => 1, 'Magento_GraphQl' => 1, 'Magento_BundleImportExport' => 1, 'Magento_BundleImportExportStaging' => 1, 'Magento_CatalogInventory' => 1, 'Magento_CacheInvalidate' => 1, 'Magento_Checkout' => 1, 'Magento_CardinalCommerce' => 1, 'Magento_AdvancedCatalog' => 1, 'Magento_Security' => 1, 'Magento_CmsGraphQl' => 1, 'Magento_EavGraphQl' => 1, 'Magento_Search' => 1, 'Magento_SalesArchive' => 1, 'Magento_CatalogImportExport' => 1, 'Magento_CatalogImportExportStaging' => 1, 'Magento_StoreGraphQl' => 1, 'Magento_CatalogInventoryGraphQl' => 1, 'Magento_CatalogSearch' => 1, 'Magento_CatalogPageBuilderAnalytics' => 0, 'Magento_CatalogPageBuilderAnalyticsStaging' => 0, 'Magento_CatalogUrlRewrite' => 1, 'Magento_Ui' => 1, 'Magento_CustomerCustomAttributes' => 1, 'Magento_Msrp' => 1, 'Magento_CatalogRuleGraphQl' => 1, 'Magento_SalesRule' => 1, 'Magento_Captcha' => 1, 'Magento_Downloadable' => 1, 'Magento_Staging' => 1, 'Magento_GiftCard' => 1, 'Magento_Wishlist' => 1, 'Magento_CatalogGraphQl' => 1, 'Magento_MediaStorage' => 1, 'Magento_Robots' => 1, 'Magento_ConfigurableProduct' => 1, 'Magento_CheckoutAddressSearch' => 1, 'Magento_GiftRegistry' => 1, 'Magento_CheckoutAgreements' => 1, 'Magento_CheckoutAgreementsGraphQl' => 1, 'Magento_CheckoutStaging' => 1, 'Magento_MediaGalleryUi' => 1, 'Magento_CatalogCmsGraphQl' => 1, 'Magento_CmsPageBuilderAnalytics' => 0, 'Magento_CmsPageBuilderAnalyticsStaging' => 0, 'Magento_VersionsCms' => 1, 'Magento_CmsUrlRewrite' => 1, 'Magento_CmsUrlRewriteGraphQl' => 1, 'Magento_CompareListGraphQl' => 1, 'Magento_Integration' => 1, 'Magento_ConfigurableImportExport' => 1, 'Magento_CatalogRuleConfigurable' => 1, 'Magento_QuoteGraphQl' => 1, 'Magento_ConfigurableProductSales' => 1, 'Magento_PageCache' => 1, 'Magento_Contact' => 1, 'Magento_Cookie' => 1, 'Magento_Cron' => 1, 'Magento_Csp' => 0, 'Magento_CurrencySymbol' => 1, 'Magento_CustomAttributeManagement' => 1, 'Magento_AdvancedCheckout' => 1, 'Magento_Analytics' => 0, 'Magento_CustomerBalance' => 1, 'Magento_CustomerBalanceGraphQl' => 1, 'Magento_CustomerSegment' => 1, 'Magento_DownloadableGraphQl' => 1, 'Magento_CustomerFinance' => 1, 'Magento_CustomerGraphQl' => 1, 'Magento_CustomerImportExport' => 1, 'Magento_CatalogWidget' => 1, 'Magento_DeferredTotalCalculating' => 1, 'Magento_Deploy' => 1, 'Magento_Developer' => 1, 'Magento_Dhl' => 0, 'Magento_BundleGraphQl' => 1, 'Magento_DirectoryGraphQl' => 1, 'Magento_ProductAlert' => 1, 'Magento_CustomerDownloadableGraphQl' => 1, 'Magento_DownloadableImportExport' => 1, 'Magento_TargetRule' => 1, 'Magento_AdvancedRule' => 1, 'Magento_CatalogCustomerGraphQl' => 1, 'Magento_AdvancedSearch' => 1, 'Magento_Elasticsearch' => 1, 'Magento_Elasticsearch6' => 1, 'Magento_WebsiteRestriction' => 1, 'Magento_ElasticsearchCatalogPermissionsGraphQl' => 1, 'Magento_Email' => 1, 'Magento_EncryptionKey' => 1, 'Magento_Enterprise' => 1, 'Magento_Fedex' => 0, 'Magento_Tax' => 1, 'Magento_GiftCardAccount' => 1, 'Magento_GiftCardAccountGraphQl' => 1, 'Magento_WishlistGraphQl' => 1, 'Magento_Sitemap' => 1, 'Magento_CatalogEvent' => 1, 'Magento_GiftMessage' => 1, 'Magento_GiftMessageGraphQl' => 1, 'Magento_GiftMessageStaging' => 1, 'Magento_UrlRewrite' => 1, 'Magento_GiftRegistryGraphQl' => 1, 'Magento_GiftWrapping' => 1, 'Magento_GiftWrappingGraphQl' => 1, 'Magento_GiftWrappingStaging' => 1, 'Magento_GoogleAdwords' => 1, 'Magento_GoogleAnalytics' => 1, 'Magento_GoogleGtag' => 1, 'Magento_GoogleOptimizer' => 1, 'Magento_GoogleOptimizerStaging' => 1, 'Magento_GoogleShoppingAds' => 1, 'Magento_Banner' => 1, 'Magento_AsyncOrder' => 1, 'Magento_GraphQlCache' => 1, 'Magento_GroupedProduct' => 1, 'Magento_GroupedImportExport' => 1, 'Magento_GroupedCatalogInventory' => 1, 'Magento_GroupedProductGraphQl' => 1, 'Magento_VisualMerchandiser' => 1, 'Magento_RemoteStorage' => 1, 'Magento_CatalogPermissions' => 1, 'Magento_InstantPurchase' => 1, 'Magento_CatalogAnalytics' => 0, 'Magento_Inventory' => 0, 'Magento_InventoryAdminUi' => 0, 'Magento_InventoryAdvancedCheckout' => 0, 'Magento_InventoryApi' => 0, 'Magento_InventoryBundleImportExport' => 0, 'Magento_InventoryBundleProduct' => 0, 'Magento_InventoryBundleProductAdminUi' => 0, 'Magento_InventoryBundleProductIndexer' => 0, 'Magento_InventoryCatalog' => 0, 'Magento_InventorySales' => 0, 'Magento_InventoryCatalogAdminUi' => 0, 'Magento_InventoryCatalogApi' => 0, 'Magento_InventoryCatalogFrontendUi' => 0, 'Magento_InventoryCatalogSearch' => 0, 'Magento_InventoryCatalogSearchBundleProduct' => 1, 'Magento_InventoryCatalogSearchConfigurableProduct' => 1, 'Magento_ConfigurableProductGraphQl' => 1, 'Magento_InventoryConfigurableProduct' => 0, 'Magento_InventoryConfigurableProductFrontendUi' => 0, 'Magento_InventoryConfigurableProductIndexer' => 0, 'Magento_InventoryConfiguration' => 0, 'Magento_InventoryConfigurationApi' => 0, 'Magento_InventoryDistanceBasedSourceSelection' => 0, 'Magento_InventoryDistanceBasedSourceSelectionAdminUi' => 0, 'Magento_InventoryDistanceBasedSourceSelectionApi' => 0, 'Magento_InventoryElasticsearch' => 0, 'Magento_InventoryExportStockApi' => 0, 'Magento_InventoryIndexer' => 0, 'Magento_InventorySalesApi' => 0, 'Magento_InventoryGroupedProduct' => 0, 'Magento_InventoryGroupedProductAdminUi' => 0, 'Magento_InventoryGroupedProductIndexer' => 0, 'Magento_InventoryImportExport' => 0, 'Magento_InventoryInStorePickupApi' => 0, 'Magento_InventoryInStorePickupAdminUi' => 0, 'Magento_InventorySourceSelectionApi' => 0, 'Magento_InventoryInStorePickup' => 0, 'Magento_InventoryInStorePickupGraphQl' => 0, 'Magento_Shipping' => 1, 'Magento_InventoryInStorePickupShippingApi' => 0, 'Magento_InventoryInStorePickupQuoteGraphQl' => 0, 'Magento_InventoryInStorePickupSales' => 0, 'Magento_InventoryInStorePickupSalesApi' => 0, 'Magento_InventoryInStorePickupQuote' => 0, 'Magento_InventoryInStorePickupShipping' => 0, 'Magento_InventoryInStorePickupShippingAdminUi' => 0, 'Magento_Multishipping' => 1, 'Magento_Webapi' => 1, 'Magento_InventoryCache' => 0, 'Magento_InventoryLowQuantityNotification' => 0, 'Magento_Reports' => 1, 'Magento_InventoryLowQuantityNotificationApi' => 0, 'Magento_InventoryMultiDimensionalIndexerApi' => 0, 'Magento_InventoryProductAlert' => 0, 'Magento_InventoryQuoteGraphQl' => 1, 'Magento_InventoryRequisitionList' => 0, 'Magento_InventoryReservations' => 0, 'Magento_InventoryReservationCli' => 0, 'Magento_InventoryReservationsApi' => 0, 'Magento_InventoryExportStock' => 0, 'Magento_InventorySalesAdminUi' => 0, 'Magento_InventoryGraphQl' => 0, 'Magento_InventorySalesFrontendUi' => 0, 'Magento_InventorySetupFixtureGenerator' => 0, 'Magento_InventoryShipping' => 0, 'Magento_InventoryShippingAdminUi' => 0, 'Magento_InventorySourceDeductionApi' => 0, 'Magento_InventorySourceSelection' => 0, 'Magento_InventoryInStorePickupFrontend' => 0, 'Magento_InventorySwatchesFrontendUi' => 0, 'Magento_InventoryVisualMerchandiser' => 0, 'Magento_InventoryWishlist' => 0, 'Magento_Invitation' => 1, 'Magento_JwtFrameworkAdapter' => 1, 'Magento_JwtUserToken' => 1, 'Magento_LayeredNavigation' => 1, 'Magento_LayeredNavigationStaging' => 1, 'Magento_Logging' => 1, 'Magento_LoginAsCustomer' => 1, 'Magento_LoginAsCustomerAdminUi' => 1, 'Magento_LoginAsCustomerApi' => 1, 'Magento_LoginAsCustomerAssistance' => 1, 'Magento_LoginAsCustomerFrontendUi' => 1, 'Magento_LoginAsCustomerGraphQl' => 1, 'Magento_LoginAsCustomerLog' => 1, 'Magento_LoginAsCustomerLogging' => 1, 'Magento_LoginAsCustomerPageCache' => 1, 'Magento_LoginAsCustomerQuote' => 1, 'Magento_LoginAsCustomerSales' => 1, 'Magento_LoginAsCustomerWebsiteRestriction' => 1, 'Magento_Marketplace' => 1, 'Magento_MediaContent' => 1, 'Magento_MediaContentApi' => 1, 'Magento_MediaContentCatalog' => 1, 'Magento_MediaContentCatalogStaging' => 1, 'Magento_MediaContentCms' => 1, 'Magento_MediaContentSynchronization' => 1, 'Magento_MediaContentSynchronizationApi' => 1, 'Magento_MediaContentSynchronizationCatalog' => 1, 'Magento_MediaContentSynchronizationCms' => 1, 'Magento_AdobeStockAsset' => 0, 'Magento_MediaGalleryApi' => 1, 'Magento_MediaGalleryCatalog' => 1, 'Magento_MediaGalleryCatalogIntegration' => 1, 'Magento_MediaGalleryCatalogUi' => 1, 'Magento_MediaGalleryCmsUi' => 1, 'Magento_MediaGalleryIntegration' => 1, 'Magento_MediaGalleryMetadata' => 1, 'Magento_MediaGalleryMetadataApi' => 1, 'Magento_MediaGalleryRenditions' => 1, 'Magento_MediaGalleryRenditionsApi' => 1, 'Magento_MediaGallerySynchronization' => 1, 'Magento_MediaGallerySynchronizationApi' => 1, 'Magento_MediaGallerySynchronizationMetadata' => 1, 'Magento_AdobeStockImageAdminUi' => 0, 'Magento_MediaGalleryUiApi' => 1, 'Magento_AwsS3' => 1, 'Magento_MessageQueue' => 1, 'Magento_Weee' => 1, 'Magento_MsrpConfigurableProduct' => 1, 'Magento_MsrpGroupedProduct' => 1, 'Magento_MsrpStaging' => 1, 'Magento_MultipleWishlist' => 1, 'Magento_SalesGraphQl' => 1, 'Magento_InventoryInStorePickupMultishipping' => 0, 'Magento_MysqlMq' => 1, 'Magento_NewRelicReporting' => 0, 'Magento_Newsletter' => 1, 'Magento_NewsletterGraphQl' => 1, 'Magento_OfflinePayments' => 1, 'Magento_OfflineShipping' => 1, 'Magento_BannerCustomerSegment' => 1, 'Magento_PageBuilder' => 1, 'Magento_AdminGws' => 1, 'Magento_PageBuilderAnalytics' => 0, 'Magento_CatalogStaging' => 1, 'Magento_PageBuilderAdminGwsAdminUi' => 1, 'Magento_PaymentGraphQl' => 1, 'Magento_PaymentStaging' => 1, 'Magento_Vault' => 1, 'Magento_Paypal' => 0, 'Magento_PaypalGraphQl' => 0, 'Magento_Persistent' => 1, 'Magento_PersistentHistory' => 1, 'Magento_PricePermissions' => 1, 'Magento_DownloadableStaging' => 1, 'Magento_ProductVideo' => 1, 'Magento_ProductVideoStaging' => 1, 'Magento_PromotionPermissions' => 1, 'Magento_BannerGraphQl' => 1, 'Magento_QuoteAnalytics' => 0, 'Magento_QuoteBundleOptions' => 1, 'Magento_QuoteConfigurableOptions' => 1, 'Magento_QuoteDownloadableLinks' => 1, 'Magento_QuoteGiftCardOptions' => 1, 'Magento_InventoryConfigurableProductAdminUi' => 0, 'Magento_QuoteStaging' => 1, 'Magento_ReCaptchaAdminUi' => 1, 'Magento_ReCaptchaCheckout' => 1, 'Magento_ReCaptchaCheckoutSalesRule' => 1, 'Magento_ReCaptchaContact' => 1, 'Magento_ReCaptchaCustomer' => 1, 'Magento_ReCaptchaFrontendUi' => 1, 'Magento_ReCaptchaGiftCard' => 1, 'Magento_ReCaptchaInvitation' => 1, 'Magento_ReCaptchaMigration' => 1, 'Magento_ReCaptchaMultipleWishlist' => 1, 'Magento_ReCaptchaNewsletter' => 1, 'Magento_ReCaptchaPaypal' => 1, 'Magento_ReCaptchaReview' => 1, 'Magento_ReCaptchaSendFriend' => 1, 'Magento_ReCaptchaStorePickup' => 1, 'Magento_ReCaptchaUi' => 1, 'Magento_ReCaptchaUser' => 1, 'Magento_ReCaptchaValidation' => 1, 'Magento_ReCaptchaValidationApi' => 1, 'Magento_ReCaptchaVersion2Checkbox' => 1, 'Magento_ReCaptchaVersion2Invisible' => 1, 'Magento_ReCaptchaVersion3Invisible' => 1, 'Magento_ReCaptchaWebapiApi' => 1, 'Magento_ReCaptchaWebapiGraphQl' => 1, 'Magento_ReCaptchaWebapiRest' => 1, 'Magento_ReCaptchaWebapiUi' => 1, 'Magento_RelatedProductGraphQl' => 1, 'Magento_ReleaseNotification' => 1, 'Magento_Reminder' => 1, 'Magento_AwsS3GiftCardImportExport' => 1, 'Magento_RemoteStorageCommerce' => 1, 'Magento_InventoryLowQuantityNotificationAdminUi' => 0, 'Magento_RequireJs' => 1, 'Magento_ResourceConnections' => 1, 'Magento_Review' => 1, 'Magento_ReviewAnalytics' => 0, 'Magento_ReviewGraphQl' => 1, 'Magento_ReviewStaging' => 1, 'Magento_Reward' => 1, 'Magento_RewardGraphQl' => 1, 'Magento_AdvancedSalesRule' => 1, 'Magento_Rma' => 1, 'Magento_RmaGraphQl' => 1, 'Magento_RmaStaging' => 1, 'Magento_ScheduledImportExport' => 1, 'Magento_Rss' => 1, 'Magento_SalesRuleStaging' => 1, 'Magento_BannerPageBuilderAnalytics' => 0, 'Magento_SalesAnalytics' => 0, 'Magento_AsyncOrderGraphQl' => 1, 'Magento_MultipleWishlistGraphQl' => 1, 'Magento_SalesInventory' => 1, 'Magento_CatalogRuleStaging' => 1, 'Magento_RewardStaging' => 1, 'Magento_BannerPageBuilder' => 1, 'Magento_SampleData' => 0, 'Magento_ScalableCheckout' => 1, 'Magento_ScalableInventory' => 1, 'Magento_ScalableOms' => 1, 'Magento_AwsS3ScheduledImportExport' => 1, 'Magento_Elasticsearch7' => 1, 'Magento_SearchStaging' => 1, 'Magento_CustomerAnalytics' => 0, 'Magento_Securitytxt' => 1, 'Magento_SendFriend' => 0, 'Magento_SendFriendGraphQl' => 1, 'Magento_InventoryInStorePickupSalesAdminUi' => 0, 'Magento_AwsS3PageBuilder' => 1, 'Magento_StagingGraphQl' => 1, 'Magento_CatalogStagingGraphQl' => 1, 'Magento_StagingPageBuilder' => 1, 'Magento_CatalogPermissionsGraphQl' => 1, 'Magento_UrlRewriteGraphQl' => 1, 'Magento_Support' => 1, 'Magento_Swagger' => 1, 'Magento_SwaggerWebapi' => 1, 'Magento_SwaggerWebapiAsync' => 1, 'Magento_Swat' => 1, 'Magento_Swatches' => 1, 'Magento_SwatchesGraphQl' => 1, 'Magento_SwatchesLayeredNavigation' => 1, 'Magento_CatalogInventoryStaging' => 1, 'Magento_TargetRuleGraphQl' => 1, 'Magento_GiftCardStaging' => 1, 'Magento_TaxGraphQl' => 1, 'Magento_TaxImportExport' => 1, 'Magento_GoogleTagManager' => 1, 'Magento_ThemeGraphQl' => 1, 'Magento_Translation' => 1, 'Magento_TwoFactorAuth' => 0, 'Magento_ElasticsearchCatalogPermissions' => 1, 'Magento_Ups' => 0, 'Magento_CatalogUrlRewriteStaging' => 1, 'Magento_CatalogUrlRewriteGraphQl' => 1, 'Magento_AsynchronousOperations' => 1, 'Magento_Usps' => 0, 'Magento_GroupedProductStaging' => 1, 'Magento_PaypalCaptcha' => 0, 'Magento_VaultGraphQl' => 1, 'Magento_Version' => 0, 'Magento_CmsStaging' => 1, 'Magento_VersionsCmsPageCache' => 1, 'Magento_VersionsCmsUrlRewrite' => 1, 'Magento_VersionsCmsUrlRewriteGraphQl' => 1, 'Magento_BundleStaging' => 1, 'Magento_InventoryInStorePickupWebapiExtension' => 0, 'Magento_WebapiAsync' => 0, 'Magento_WebapiSecurity' => 1, 'Magento_ConfigurableProductStaging' => 1, 'Magento_CatalogStagingPageBuilder' => 1, 'Magento_WeeeGraphQl' => 1, 'Magento_WeeeStaging' => 1, 'Magento_PageBuilderAdminAnalytics' => 1, 'Magento_CheckoutAddressSearchGiftRegistry' => 1, 'Magento_WishlistAnalytics' => 0, 'Magento_WishlistGiftCard' => 1, 'Magento_WishlistGiftCardGraphQl' => 1, 'Magento_GiftCardGraphQl' => 1, 'Amasty_AdminActionsLog' => 1, 'Amasty_BannersLite' => 1, 'Amasty_Base' => 1, 'Amasty_ShopbyBase' => 1, 'Amasty_CronScheduleList' => 1, 'Amasty_ElasticSearch' => 1, 'Amasty_Feed' => 1, 'Amasty_Geoip' => 1, 'Amasty_ImageOptimizer' => 1, 'Amasty_ImageOptimizerUi' => 1, 'Amasty_Label' => 1, 'Amasty_LabelGraphQl' => 1, 'Amasty_LazyLoad' => 1, 'Amasty_LazyLoadUi' => 1, 'Amasty_Mostviewed' => 1, 'Amasty_MostviewedGraphQl' => 1, 'Amasty_Ogrid' => 1, 'Amasty_PageSpeedOptimizer' => 1, 'Amasty_PageSpeedTools' => 1, 'Amasty_RecurringPayments' => 1, 'Amasty_RecurringCashOnDelivery' => 1, 'Amasty_RecurringPaypal' => 0, 'Amasty_Stripe' => 0, 'Amasty_Rgrid' => 1, 'Amasty_Rules' => 1, 'Amasty_RulesPro' => 1, 'Amasty_Scroll' => 1, 'Amasty_SeoRichData' => 1, 'Amasty_ShopByQuickConfig' => 1, 'Amasty_Shopby' => 1, 'Amasty_ShopbyBrand' => 1, 'Amasty_CPS' => 1, 'Amasty_ShopbyBrandGraphQl' => 1, 'Amasty_ShopbyFilterAnalytics' => 1, 'Amasty_ShopbyGraphQl' => 1, 'Amasty_ShopbyPage' => 1, 'Amasty_ShopbySeo' => 1, 'Amasty_RecurringStripe' => 0, 'Amasty_VisualMerchUi' => 1, 'Amasty_Xsearch' => 1, 'BitExpert_ForceCustomerLogin' => 1, 'Bss_CustomProductAttributeExport' => 1, 'Bss_FreeShippingBar' => 1, 'Bss_Reindex' => 1, 'C4B_FreeProduct' => 1, 'Magefan_Community' => 1, 'Vnecoms_Core' => 1, 'Vnecoms_Vendors' => 1, 'Mageplaza_Core' => 1, 'Mageplaza_SocialLogin' => 1, 'Vnecoms_VendorsProduct' => 1, 'Vnecoms_VendorsSales' => 1, 'Vnecoms_VendorsProductImportExport' => 1, 'Vnecoms_VendorsProductImportExportEE' => 1, 'Vnecoms_VendorsProductConfigurable' => 1, 'Vnecoms_VendorsPage' => 1, 'Vnecoms_VendorsShipping' => 1, 'Vnecoms_VendorsFeaturedProduct' => 1, 'KiwiCommerce_InventoryLog' => 1, 'Vnecoms_VendorsAvatarProfile' => 1, 'Vnecoms_VendorsBadge' => 1, 'Vnecoms_BannerManager' => 1, 'Vnecoms_VendorsLayerNavigation' => 1, 'Vnecoms_VendorsConfig' => 1, 'Vnecoms_Credit' => 0, 'MagicToolbox_MagicZoomPlus' => 1, 'Vnecoms_VendorsCms' => 1, 'Vnecoms_VendorsReport' => 1, 'Vnecoms_VendorsCategory' => 1, 'Vnecoms_VendorsAcl' => 1, 'Magefan_WysiwygAdvanced' => 1, 'Lillik_PriceDecimal' => 1, 'MageKey_CustomerRestriction' => 1, 'Magefan_AdminUserGuide' => 1, 'Magefan_Blog' => 1, 'Magefan_BlogPlus' => 1, 'Magefan_BlogAuthor' => 1, 'Magefan_BlogGraphQl' => 1, 'Magefan_BlogImport' => 1, 'Magefan_BlogExtra' => 1, 'Magefan_ProductWidget' => 1, 'Magefan_YouTubeWidget' => 1, 'Mageplaza_GoogleRecaptcha' => 1, 'Mageplaza_Reports' => 1, 'Mageplaza_Smtp' => 1, 'Mageside_PriceHistory' => 1, 'Mageside_SaleCategoryPro' => 1, 'Maghos_ProductViewLinks' => 1, 'MagicToolbox_MagicScroll' => 1, 'MagicToolbox_Magic360' => 1, 'Mediaman_WishlistApi' => 1, 'Mirasvit_Core' => 1, 'Mirasvit_Dashboard' => 1, 'Mirasvit_Report' => 1, 'Mirasvit_ReportBuilder' => 1, 'Mirasvit_Reports' => 1, 'PayPal_Braintree' => 0, 'PayPal_BraintreeGraphQl' => 0, 'ScandiPWA_PersistedQuery' => 0, 'Temando_ShippingRemover' => 0, 'Vnecoms_VendorsDashboard' => 1, 'Vnecoms_DisablePageBuilder' => 1, 'Vnecoms_SmTheme' => 1, 'Vnecoms_VendorsSubAccount' => 1, 'Vnecoms_VendorsApi' => 1, 'Vnecoms_VendorsAttributeOption' => 1, 'Vnecoms_VendorsCommission' => 1, 'Vnecoms_VendorsCommissionPreview' => 1, 'Vnecoms_VendorsMedia' => 1, 'Vnecoms_VendorsNotification' => 1, 'Vnecoms_VendorsCredit' => 0, 'Vnecoms_VendorsCreditGraphQl' => 1, 'Vnecoms_VendorsCustomRegister' => 1, 'Vnecoms_VendorsGroup' => 1, 'Vnecoms_VendorsCustomWithdrawal' => 0, 'Vnecoms_VendorsDashboardGraphQl' => 1, 'Vnecoms_VendorsEE' => 1, 'Vnecoms_VendorsGraphQl' => 1, 'Vnecoms_VendorsCustomTheme' => 1, 'Vnecoms_VendorsLanguage' => 1, 'Vnecoms_VendorsSearch' => 1, 'Vnecoms_VendorsLiveChat' => 0, 'Vnecoms_VendorsMessage' => 0, 'Vnecoms_VendorsConfigApproval' => 1, 'Vnecoms_VendorsNotificationGraphQl' => 1, 'Vnecoms_VendorsPageEE' => 1, 'Vnecoms_VendorsProductBundle' => 1, 'Vnecoms_VendorsProductDownloadable' => 1, 'Vnecoms_VendorsProductGraphQl' => 1, 'Vnecoms_VendorsProductGrouped' => 1, 'Vnecoms_VendorsProductVideo' => 1, 'Vnecoms_VendorsProfileNotification' => 1, 'Vnecoms_VendorsReportGraphQl' => 1, 'Vnecoms_VendorsReview' => 1, 'Vnecoms_VendorsSalesGraphQl' => 1, 'Vnecoms_VendorsSellerList' => 1, 'Vnecoms_VendorsShippingFlatRate' => 1, 'Vnecoms_VendorsUi' => 1 ] ];

simthax commented 2 years ago

I also faced the issue after upgrading to 2.4.5. What I did is disable Magento_AdminAdobeIms in config.php first, then directly do setup:di:compile since flushing generated and cache folder didn't work. After that I launched again the setup upgrade and the di compile to complete the upgrade

cctorres commented 2 years ago

I tried the rm -rf command and also the s:di:compile after disabling the adobe modules and the issue is still happening... using 2.4.3 there is no problem so... I dont know what could be the solution

steveberrill commented 2 years ago

I resolved by enabling all the following

      'Magento_AdobeIms' => 1,
        'Magento_AdobeImsApi' => 1,
        'Magento_AdobeStockAdminUi' => 1,
        'Magento_MediaGallery' => 1,
        'Magento_AdobeStockAssetApi' => 1,
        'Magento_AdobeStockClient' => 1,
        'Magento_AdobeStockClientApi' => 1,
        'Magento_AdobeStockImage' => 1,

then running this

rm -rf /generated/* &&
rm -rf var/cache/* && 
rm -rf var/page_cache/* && 
rm -rf var/generation/* && 
rm -rf var/di var/generation && 
php bin/magento cache:flush
cctorres commented 2 years ago

I resolved by enabling all the following

      'Magento_AdobeIms' => 1,
        'Magento_AdobeImsApi' => 1,
        'Magento_AdobeStockAdminUi' => 1,
        'Magento_MediaGallery' => 1,
        'Magento_AdobeStockAssetApi' => 1,
        'Magento_AdobeStockClient' => 1,
        'Magento_AdobeStockClientApi' => 1,
        'Magento_AdobeStockImage' => 1,

then running this

rm -rf /generated/* &&
rm -rf var/cache/* && 
rm -rf var/page_cache/* && 
rm -rf var/generation/* && 
rm -rf var/di var/generation && 
php bin/magento cache:flush

The first part worked for me. I have another problem but that is another problem. Thanks!

When I try s:di:dompile I am getting the following error

Aoe\Logger\Model\Logger\Handler\Logger::write(array $record) must be compatible with Magento\Framework\Logger\Handler\Base::write(array $record): void

steveberrill commented 2 years ago

I resolved by enabling all the following

      'Magento_AdobeIms' => 1,
        'Magento_AdobeImsApi' => 1,
        'Magento_AdobeStockAdminUi' => 1,
        'Magento_MediaGallery' => 1,
        'Magento_AdobeStockAssetApi' => 1,
        'Magento_AdobeStockClient' => 1,
        'Magento_AdobeStockClientApi' => 1,
        'Magento_AdobeStockImage' => 1,

then running this

rm -rf /generated/* &&
rm -rf var/cache/* && 
rm -rf var/page_cache/* && 
rm -rf var/generation/* && 
rm -rf var/di var/generation && 
php bin/magento cache:flush

The first part worked for me. I have another problem but that is another problem. Thanks!

When I try s:di:dompile I am getting the following error

Aoe\Logger\Model\Logger\Handler\Logger::write(array $record) must be compatible with Magento\Framework\Logger\Handler\Base::write(array $record): void

not sure what that module is, if its not required maybe try removing

cctorres commented 2 years ago

I resolved by enabling all the following

      'Magento_AdobeIms' => 1,
        'Magento_AdobeImsApi' => 1,
        'Magento_AdobeStockAdminUi' => 1,
        'Magento_MediaGallery' => 1,
        'Magento_AdobeStockAssetApi' => 1,
        'Magento_AdobeStockClient' => 1,
        'Magento_AdobeStockClientApi' => 1,
        'Magento_AdobeStockImage' => 1,

then running this

rm -rf /generated/* &&
rm -rf var/cache/* && 
rm -rf var/page_cache/* && 
rm -rf var/generation/* && 
rm -rf var/di var/generation && 
php bin/magento cache:flush

The first part worked for me. I have another problem but that is another problem. Thanks! When I try s:di:dompile I am getting the following error Aoe\Logger\Model\Logger\Handler\Logger::write(array $record) must be compatible with Magento\Framework\Logger\Handler\Base::write(array $record): void

not sure what that module is, if its not required maybe try removing

Thanks! I resolved that and then this issue too (https://github.com/magento/magento2/issues/35909) but now im getting a 500 server error when I try to save a config on Admin page but its working now the storefront things.

steveberrill commented 2 years ago

try resetting file and folder permissions in the terminal

find . -type f -exec chmod 644 {} \;  &&
find . -type d -exec chmod 755 {} \; &&
find ./var -type d -exec chmod 777 {} \; &&
find ./pub/media -type d -exec chmod 777 {} \; &&
find ./pub/static -type d -exec chmod 777 {} \; &&
chmod 777 ./app/etc &&
chmod 644 ./app/etc/*.xml &&
chmod u+x bin/magento

then this

php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento cache:flush

cctorres commented 2 years ago

try resetting file and folder permissions in the terminal

find . -type f -exec chmod 644 {} \;  &&
find . -type d -exec chmod 755 {} \; &&
find ./var -type d -exec chmod 777 {} \; &&
find ./pub/media -type d -exec chmod 777 {} \; &&
find ./pub/static -type d -exec chmod 777 {} \; &&
chmod 777 ./app/etc &&
chmod 644 ./app/etc/*.xml &&
chmod u+x bin/magento

then this

php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento cache:flush

I tried this but it did not work

steveberrill commented 2 years ago

ok then it may be server configuration error. please edit this file app/bootstrap.php

uncomment this

ini_set('display_errors', 1);

to see if it debugs the error

cctorres commented 2 years ago

ok then it may be server configuration error. please edit this file app/bootstrap.php

uncomment this

ini_set('display_errors', 1);

to see if it debugs the error

Thanks for answering... I did that but I can't see anything. I am going to pause the upgrading for some days.... so thanks!

avanturist commented 2 years ago

The problem still exists after upgrading magento (from 2.4.3-p1 to 2.4.4) and this is neither permissions problem nor cache related problem. _Error: Cannot instantiate interface Magento\Framework\Jwt\JwtManagerInterface in /home/colorit/publichtml/releases/20210113065414/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:51

avanturist commented 2 years ago

Solution to fix the problem is to enable magento JwtFrameworkAdapter module: _'MagentoJwtFrameworkAdapter' => 1,

amine-y commented 2 years ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 2 years ago

Hi @amine-y. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 2 years ago

Hi @amine-y, here is your Magento Instance: https://331dd5be256e073ec850024491747a57.instances.magento-community.engineering Admin access: https://331dd5be256e073ec850024491747a57.instances.magento-community.engineering/admin_fa29 Login: 295a5c63 Password: 1c5ac588836e

amine-y commented 2 years ago

for everyone who still encountering issues try to enable all modules before running setup:di:compile

engcom-Dash commented 2 years ago

Hi @cctorres ,

We have noticed that this issue has not been updated for a period of 14 Days. Hence we assume that this issue is fixed now, so we are closing it. Please raise a fresh ticket or reopen this ticket if you need more assistance on this.

NguyenXuanNam commented 1 year ago

The problem still exists after upgrading magento (from 2.4.3-p2 to 2.4.5-p1) and PHP 8.1 Cannot instantiate interface Magento\AdobeImsApi\Api\ConfigInterface#0 /var/www/html/namnguyen.tech/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create()

timpea commented 1 year ago

for everyone who still encountering issues try to enable all modules before running setup:di:compile

And if running Redis, clear the Redis cache: redis-cli flushall

secaliskan commented 1 year ago

Magento_AdobeStockAdminUi

this done the trick

brad1001 commented 1 year ago

I have been going around with this for hours after updating from 2.3.7 to 2.4.5-p1 . My notes for my next update read as follows:

Before completing your upgrade ensure all Magento / Adobe modules are enabled (even the ones you are not using).

I will disable anything I really don't want after everything has settled and than I can ensure that disabling them does not cause any issues.

Hope this helps someone and my wasted times saves your!

jdereus87 commented 1 year ago

Working on a m2 installation from a client i also came across this one. A lot of modules have been replaced (composer) or turned off, like these adobeIms modules.

For me the following did the trick: I had to manually add Magento_AdobeImsApi to the config.php and enable it. I also just searched and replaced all the zeroes with ones. This alone did not help.

What did help is seeing in the stack trace that the generation is being done from a Developer class. I switched manually to production mode by changing to 'MAGE_MODE' => 'production' in the env.

I cleared all the generated folders (cache, generated AND flushed redis). After that setup:upgrade started working again without the error.

After you have solved this in production mode, you can switch back to dev mode again.

my-brain-qlicks commented 12 months ago

Issue reproduces on 2.4.5 and 2.4.6-p2

In my case the fix was to put magento/module-adobe-stock-asset into replace section of root composer.json

nabeelfocus commented 8 months ago

Error: Cannot instantiate interface Magento\Framework\Filter\Input\PurifierInterface in /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 Stack trace:

0 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewo...', Array)

1 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewo...')

2 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/Filter/Input/MaliciousCode.php(25): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')

3 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Filter\Input\MaliciousCode->__construct(NULL)

4 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewo...', Array)

5 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewo...')

6 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\Framewo...')

7 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Email\B...', Array)

8 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Element/BlockFactory.php(44): Magento\Framework\ObjectManager\ObjectManager->create('Magento\Email\B...', Array)

9 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/Generator/Block.php(272): Magento\Framework\View\Element\BlockFactory->createBlock('Magento\Email\B...', Array)

10 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/Generator/Block.php(252): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Magento\Email\B...', Array)

11 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/Generator/Block.php(229): Magento\Framework\View\Layout\Generator\Block->createBlock('Magento\Email\B...', 'content', Array)

12 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/Generator/Block.php(134): Magento\Framework\View\Layout\Generator\Block->generateBlock(Object(Magento\Framework\View\Layout\ScheduledStructure), Object(Magento\Framework\View\Layout\Data\Structure), 'content')

13 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/GeneratorPool.php(93): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))

14 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout.php(365): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))

15 /Users/mac786/Sites/moda2.4.6p2/generated/code/Magento/Framework/View/Layout/Interceptor.php(32): Magento\Framework\View\Layout->generateElements()

16 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()

17 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Page/Builder.php(65): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()

18 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()

19 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Page/Config.php(227): Magento\Framework\View\Layout\Builder->build()

20 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Page/Config.php(240): Magento\Framework\View\Page\Config->build()

21 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Result/Page.php(244): Magento\Framework\View\Page\Config->publicBuild()

22 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))

23 /Users/mac786/Sites/moda2.4.6p2/generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php(32): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))

24 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/App/Http.php(120): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))

25 /Users/mac786/Sites/moda2.4.6p2/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch()

26 /Users/mac786/Sites/moda2.4.6p2/pub/index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))

27 {main}

After upgrade magento 2.4.5 to 2.4.6-p2.when i am clicking to preview email templates

brian-labelle commented 7 months ago

I fixed this on my local environment by running the following actions in this exact order

  1. Manually enable (adding it into the file if necessary) the module in app/etc/config.php which contains the interface that cannot be instantiated
  2. Flush redis cache if you are running redis; otherwise clear your cache storage
  3. Delete all files under generated directory
  4. Run bin/magento setup:upgrade
robert-schmidt commented 1 month ago

... and if you're dealing with this on > 2.4.7, you'll have to disable the following modules as well: