I hope you all are doing good but I’m not due to this hectic issue which I’m trying to fix from 2 days. Any help regarding my query will be appreciated.
I’m getting this issue after upgrading my symfony version from 3.4 to 6.2. You can check attach screenshot.
I just change my "symfony/symfony": "3.4.x-dev" to "symfony/symfony": "6.2.x-dev" and update relevant package version and everything was going good but at the end I got this issue :
Please let me know what I am missing ?
2
Answers
2 options:
update versions 1 by 1
3.4, 4.4, 5.4, 6.2
install a new 6.2 and copy-paste your 3.2 src in it, then redo all the configuration by hand.
gl.
Swiftmailer-bundle is not supported beyond Symfony 5.0 – you will have to switch to symfony/mailer and refactor your code appropriately. Similarly, you can now either have symfony/symfony or symfony/config, but not both.
You’ll also want to switch to Flex around Symfony4 and refactor your project structure.
All in all, you probably want to paste your 3.2 into a new 6.2 project and update all of your controllers and services auto-wired dependency injection. It’s weeks worth of work.