1

When I entered localhost/magento/setup on my browser it gives me this error

Fatal error: Declaration of Zend\Mvc\Controller\PluginManager::get($name, ?array $options = NULL) must be compatible with Zend\ServiceManager\AbstractPluginManager::get($name, $options = Array, $usePeeringServiceManagers = true) in C:\xampp\htdocs\magento\vendor\zendframework\zend-mvc\src\Controller\PluginManager.php on line 211

its my first time using Magento, so I don't have a clue, what should I do?

  • If you are using it on your local system can you replace the url to 127.0.0.1/magento/ – Nasir Perwaiz Jan 20 '18 at 5:30
  • the result is still the same, but thanks for suggesting it. – Richard Brian Castillo Jan 20 '18 at 6:08
  • This error is coming because of the php version 7.2(I guess) in your system as Magento doesn't support it for now. I you downgrade the php version it should work. – Nasir Perwaiz Jan 20 '18 at 6:25
  • This link should help you community.magento.com/t5/Installing-Magento-2/… – Nasir Perwaiz Jan 20 '18 at 6:28
  • I guess Nasir Perwaiz is right, the safest option is to downgrade to php 7.0 (some external modules does not even support 7.1) – A.Maksymiuk Jan 20 '18 at 11:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.