cancel
Showing results for 
Search instead for 
Did you mean: 

Can't upgrade Magento from 2.3.5-p1 to 2.4.2 due to extension errors

Can't upgrade Magento from 2.3.5-p1 to 2.4.2 due to extension errors

I am trying to upgrade Magento from 2.3.5-p1 to 2.4.2. I have run 

composer require magento/composer-root-update-plugin=~1.0 --no-update

and

composer update

.Then I got an error on some extensions. One of them was for owebia/magento2-module-advanced-shipping-setting. So I have followed as described at https://github.com/owebia/magento2-module-advanced-shipping. But now when I run 

composer require owebia/magento2-module-advanced-shipping:^6.0.1

I am getting the below error.

 

Problem 1
    - owebia/magento2-module-shared-php-config 6.0.1 requires php ~7.4.0|~8.0.0|~8.1.0|~8.2.0 -> your PHP version (7.3.33) does not satisfy that requirement.
    - owebia/magento2-module-advanced-shipping 6.0.1 requires owebia/magento2-module-shared-php-config ^6.0.1 -> satisfiable by owebia/magento2-module-shared-php-config[6.0.1].
    - Installation request for owebia/magento2-module-advanced-shipping ^6.0.1 -> satisfiable by owebia/magento2-module-advanced-shipping[6.0.1].

If I change the PHP version to 7.4 then I am getting another error as shown below.

Problem 1
    - amzn/amazon-pay-and-login-with-amazon-core-module 3.4.1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.33) does not satisfy that requirement.
    - amzn/amazon-pay-and-login-with-amazon-core-module 3.4.1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.33) does not satisfy that requirement.
    - amzn/amazon-pay-and-login-with-amazon-core-module 3.4.1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.33) does not satisfy that requirement.
    - Installation request for amzn/amazon-pay-and-login-with-amazon-core-module (locked at 3.4.1) -> satisfiable by amzn/amazon-pay-and-login-with-amazon-core-module[3.4.1].

How can I upgrade Magento?

1 REPLY 1

Re: Can't upgrade Magento from 2.3.5-p1 to 2.4.2 due to extension errors

Hello @akhilesh4u66f7 

 

To install Amazon Pay and log in, please use the below steps:

  • composer require amzn/amazon-payments-magento-2-plugin 1.2.6 --no-update
  • composer update

NOTE: Current latest version is 1.2.6, So you will change that in the future if any new release by Amazon.

 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9