PHP Xdebug, Fatal error: Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found in /

StackOverflow https://stackoverflow.com/questions/20658637

  •  19-09-2022
  •  | 
  •  

Question

i am noob and i am trying to run xdebug under phpstorm, everytime i get this error:

PHP Fatal error: Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found in /home/.../..../src/Acme/DemoBundle/Controller/DemoController.php on line 15.

In the beginnig i was thinking that is related windows 7+ uniformserver, because i was using this combination. Later i have installed ubuntu linux, lamp, latest xdebug and phpstorm. After this i have tried debugging default symfony project Acme (so i did not change any files), but nothing changed.

Have you ever encountered problem like this? If yes, can you please tell me how can i solve this?

Thank you.

Was it helpful?

Solution 2

I have used two javascript methods

OTHER TIPS

Have you tried File | Invalidate caches and restart and then start the new Composer project?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top