This error occurs after updating Magento 2 to a newer version.
Make the following change in composer.json to fix it:
replace:
"Magento\\": "app/code/Magento/"
to
"Magento\\": "app/code/Magento/",
"Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
and run:
composer dumpautoload
bin/magento setup:upgrade
Comments
0 comments
Please sign in to leave a comment.