hi I am trying to upgrade to symfony 3.0.* and when I ran " composer update " command I have this error concerning whiteoctober/tcpdf-bundle bundle :
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache PHP Fatal error: Class 'Symfony\Component\HttpKernel\Kernel' not found in /var/www/html/dlup/app/AppKernel.php on line 6 Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
PHP Fatal error: Class 'Symfony\Component\HttpKernel\Kernel' not found in /var/www/html/dlup/app/AppKernel.php on line 6
to solve my problem . first i autoload the kernel by adding in my composer.json file
then i modify the file app/console.php by adding on the top :
require_once DIR.'/autoload.php';
and i comment the line
for more information go to https://github.com/symfony/symfony-standard/issues/868
after i delete the bundle whiteoctober/tcpdf-bundle manually . the i look for a version compatible with symfony 3.3.2 which is the symfony 's version i am using . I add this require in my composer.json file
"require": { "whiteoctober/tcpdf-bundle": "~the_Compatible_version_for_you" },
for me i did