ebanx / magento2-gateway-ebanx

BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Module does not install with PHP 7.4 and Magento 2.4.2-p1 #155

Open mpatel015 opened 3 years ago

mpatel015 commented 3 years ago

When trying to install on latest version of Magento with PHP 7.4.16 it gives following error composer require ebanx/magento2-gateway-ebanx-pay --no-update
[InvalidArgumentException]
Package ebanx/magento2-gateway-ebanx-pay has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

netojoaobatista commented 3 years ago

Hi @mpatel015!

Right before the log you shared, you have some other messages that will say the issue. Can you, please, share the entire log? Btw, how do you tried to install the module? Git clone? Composer install? What method have you used?

This is what happens when I try to install:

Captura de tela de 2021-05-14 09-26-39

mpatel015 commented 3 years ago

Hi,

Thanks for your reply.

I am trying with composer require. Below are steps:

Step-1: PHP version same as you have.

rave@RD-laptop-26:/var/www/html/topps_24$ php -v PHP 7.4.16 (cli) (built: Mar  5 2021 07:54:20) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies     with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.     with Zend OPcache v7.4.16, Copyright (c), by Zend Technologies     with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans

Step-2:  Ran composer require command same as asked on the extension git page

rave@RD-laptop-26:/var/www/html/topps_24$ composer require ebanx/magento2-gateway-ebanx

Received error: [InvalidArgumentException]   Package ebanx/magento2-gateway-ebanx has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

Step-3 Tried with different name which we used to use with PHP 7.3 and Magento version 2.3.6

rave@RD-laptop-26:/var/www/html/topps_24$ composer require ebanx/magento2-gateway-ebanx-pay

Received error: [InvalidArgumentException]   Package ebanx/magento2-gateway-ebanx-pay has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

Step-4 Tried to directly update in composer.json and then ran composer update command but given same error.

Using Magento 2.4.2-p1 version along with PHP 7.4.16. Let me know if need more information.

Thanks

On 14/05/21 6:02 pm, João Batista Neto wrote:

Hi @mpatel015 https://github.com/mpatel015!

Right before the log you shared, you have some other messages that will say the issue. Can you, please, share the entire log? Btw, how do you tried to install the module? Git clone? Composer install? What method have you used?

This is what happens when I try to install:

Captura de tela de 2021-05-14 09-26-39 https://user-images.githubusercontent.com/273586/118271084-38be7780-b497-11eb-8831-03139cf18402.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ebanx/magento2-gateway-ebanx/issues/155#issuecomment-841214371, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWGZ4XVHTDLP2JIMLXAWGLTNUJ7HANCNFSM444GBTVQ.

--

Mahesh Patel Sr. Magento Developer P: (954) 642-9292 ravedigital.agency http://ravedigital.agency/ | aheadworks.com https://www.aheadworks.com/ linkedin.com/in/015mahesh/ https://www.linkedin.com/in/015mahesh/

Ravedigital

mpatel015 commented 3 years ago

@netojoaobatista Could you please help me to install it? Thanks