paliarush / magento2-vagrant-for-developers

Vagrant Box for Magento 2 Developers
MIT License
447 stars 165 forks source link

Installation fails - Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use #187

Open danteay opened 6 years ago

danteay commented 6 years ago

When I start to install the Magento 2.2.4 (sample data version) the installation fails and I found an exception in the start request of the ajax whith the next fatal error: Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use in /Applications/MAMP/htdocs/magento224/vendor/magento/module-payment/Model/Method/Logger.php on line 8

screen shot 2018-05-21 at 6 25 08 pm

how can I fix this error to install this version?

screen shot 2018-05-21 at 6 27 15 pm

EliasKotlyar commented 6 years ago

Check out the following issue: https://github.com/magento/magento2/issues/12180 Seems to be a bug related to PHP7.0