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
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
how can I fix this error to install this version?