Skip to content

Symfony2.8 AppKernel not found #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kamil-bednarek opened this issue Mar 24, 2016 · 4 comments
Closed

Symfony2.8 AppKernel not found #30

kamil-bednarek opened this issue Mar 24, 2016 · 4 comments

Comments

@kamil-bednarek
Copy link

PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Fatal error: Class 'AppKernel' not found in /home/kamil/Projekty/test/vendor/php-pm/httpkernel-adapter/Bootstraps/Symfony.php:58
Stack trace:
#0 /home/kamil/Projekty/test/vendor/php-pm/httpkernel-adapter/Bridges/HttpKernel.php(52): PHPPM\Bootstraps\Symfony->getApplication()
#1 /home/kamil/Projekty/test/vendor/php-pm/php-pm/ProcessSlave.php(177): PHPPM\Bridges\HttpKernel->bootstrap('\\PHPPM\\Bootstra...', 'dev', true)
#2 /home/kamil/Projekty/test/vendor/php-pm/php-pm/ProcessSlave.php(260): PHPPM\ProcessSlave->bootstrap('symfony', 'dev', true)
#3 /home/kamil/Projekty/test/vendor/php-pm/php-pm/ProcessCommunicationTrait.php(26): PHPPM\ProcessSlave->commandBootstrap(Array, Object(React\Socket\Connection))
#4 /home/kamil/Projekty/test/vendor/php-pm/php-pm/ProcessCommunicationTrait.php(50): PHPPM\ProcessSlave->processMessage('{"cmd":"bootstr...', Object(React\Socket\Connection))
#5 [internal function]: PHPPM\ProcessSlave->PHPPM\{ in /home/kamil/Projekty/test/vendor/php-pm/httpkernel-adapter/Bootstraps/Symfony.php on line 58

@marcj
Copy link
Member

marcj commented Mar 24, 2016

But you have an \AppKernel class?

@kamil-bednarek
Copy link
Author

Yeah... for 2.8 you should require:
app/bootstrap.php.cache
then
app/AppKernel.php

And all works fine...

@marcj
Copy link
Member

marcj commented Mar 24, 2016

Well, I don't think so. I'm using 2.8 as well and it works. Maybe your autoloader is not correctly configured

@kamil-bednarek
Copy link
Author

#31
Fixes all problems 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants