Sorry, I am a newbie in Magento and I have several problems with updating Magento.
I am using this tutorial for doing so https://blog.magestore.com/upgrade-magento-2-3/
I am using community edition so I tried to follow Upgrade Magento 2.3 manually and Command-line upgrade
When I follow Command-line upgrade my bin/magento was simply deleted and not available anymore.
Then I clone again my project in magento and try to follow Upgrade Magento 2.3 manually
but then :
php bin/magento setup:upgrade
PHP Fatal error: Uncaught Error: Class 'Zend\Mvc\Controller\LazyControllerAbstractFactory' not found in /var/www/BQE/magento/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:314 Stack trace:
0 /var/www/BQE/magento/vendor/zendframework/zend-servicemanager/src/Config.php(137):
Zend\ServiceManager\ServiceManager->addAbstractFactory('Zend\Mvc\Contro...')
1 /var/www/BQE/magento/vendor/zendframework/zend-modulemanager/src/Listener/ServiceListener.php(225):
Zend\ServiceManager\Config->configureServiceManager(Object(Zend\Mvc\Controller\ControllerManager))
2 [internal function]: Zend\ModuleManager\Listener\ServiceListener->onLoadModulesPost(Object(Zend\ModuleManager\ModuleEvent))
3 /var/www/BQE/magento/vendor/zendframework/zend-eventmanager/src/EventManager.php(490):
call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent))
4 /var/www/BQE/magento/vendor/zendframework/zend-eventmanager/src/EventManager.php(248):
Zend\EventManager\EventManager->triggerListeners('loadModules.pos...', Object(Zend\ModuleManager\Mo in /var/www/BQE/magento/vendor/zendframework/zend-servicemanager/src/ServiceManager.php on line 314
Does someone add a similar issue? I mean what I do wrong ? I follow the tutorial step by step and is not working.
PS: Please in case of minus let me know why so that I can improve my post
EDIT : my composer.json
{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.2.2",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.3.0",
"composer/composer": "@alpha",
"msp/devtools": ">=1.2",
"magepal/magento2-gmailsmtpapp": ">=1.5",
"mailchimp/mc-magento2": "^1.0",
"ebizmarts/magento2-mandrill": "^3.0",
"mirasvit/module-search-ultimate": "*"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.2.2",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.5.2",
"friendsofphp/php-cs-fixer": "~2.10.1",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "~3.0.0"
},
"config": {
"use-include-path": true
},
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/",
"Magento\\": "app/code/Magento/"
},
"psr-0": {
"": "app/code/"
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
]
},
"autoload-dev": {
"psr-4": {
"Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
"Magento\\Tools\\": "dev/tools/Magento/Tools/",
"Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
"Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
"Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
}
},
"minimum-stability": "alpha",
"prefer-stable": true,
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"amasty": {
"type": "composer",
"url": "https://composer.amasty.com/community/"
},
"mirasvit-ssu2": {
"type": "composer",
"url": "https://27584:[email protected]/"
}
},
"extra": {
"magento-force": "override"
}
}