Class "web_profiler.controller.profiler" does not exist after upgrading symfony 3.4 to 4.4 version

After upgrading symfony from 3.4 to 4.4 version not able to access the debug toolbar as its erroring out with The controller for URI "/_wdt/9b3cc2" is not callable: Class "web_profiler.controller.profiler" does not exist."
Not sure what exactly causing this, could anyone please help me to resolve this.
Symfony version 4.4.42
routing_dev.yml
_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt
_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler
_errors:
resource: '@TwigBundle/Resources/config/routing/errors.xml'
prefix: /_error
config_dev.yml
web_profiler:
toolbar: true
intercept_redirects: false
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: call to undefined function mysqli_connect()
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.