Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento installation failed.PHP Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use in /Users/matteofonsatti/Desktop/magento2/vagrant-magento/magento2ce/app/code/Magento/Payment/Model/Method/Logger.php on line 8 #175

Closed
mfonsatti opened this issue Mar 12, 2018 · 9 comments

Comments

@mfonsatti
Copy link

No description provided.

@e-solutions
Copy link

I am also getting this exact same error.

@mrtuvn
Copy link

mrtuvn commented Mar 13, 2018

You should checkout codebase from stable branch such as 2.2 instead development because some issue not fixed yet

@mfonsatti
Copy link
Author

@mrtuvn thanks a lot , but i've made checkout from default branch that is the 2.0 version . There's no 2.2 branch .

@mfonsatti
Copy link
Author

@mrtuvn do you mean to use a version 2.2 of Magento ?
the version of magento is in file https://github.com/paliarush/magento2-vagrant-for-developers/blob/2.0/etc/config.yaml.dist , is it right ? (just for clear for anyone ;-)

@mfonsatti
Copy link
Author

it works !!! i've added in line 17 of etc/config.yaml the version 2.2 of magento so ...
ce: "[email protected]:magento/magento2.git::2.2"
thanks a lot @mrtuvn !

@e-solutions
Copy link

It worked for me too. THANKS. :-)

@mtkumar82
Copy link

mtkumar82 commented May 22, 2018

Facing exact same issue in magento2.4,
Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use in D:\magento2_4\app\code\Magento\Payment\Model\Method\Logger.php on line 8

Any solution for this?

@purnagattu
Copy link

I'm also facing similar issue with 2.2.4 version "PHP Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use in C:\xampp\htdocs\dreamkart\vendor\magento\module-payment\Model\Method\Logger.php on line 8"

@Princep1619
Copy link

Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use in C:\xampp\htdocs\magento\vendor\magento\module-payment\Model\Method\Logger.php on line 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants