8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content
Error bootstrap.php.cache after 3.2 upgrade #20753
Closed
@ghost

Description

HI,

I have updated to 3.2 but I get the following error:

PHP Fatal error: Cannot redeclare class Symfony\\Component\\HttpKernel\\HttpKernelInterface in /var/www/application/var/bootstrap.php.cache on line 1309

I cleared the cache but without success.
When I removed the bootstrap.php.cache file everything worked as expected. After the composer update the bootstrap file was regenerated with the same error being present.

line 1309 to 1339:

interface HttpKernelInterface
{
const MASTER_REQUEST = 1;
const SUB_REQUEST = 2;
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true);
}
}
namespace Symfony\Component\HttpKernel
{
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\Config\Loader\LoaderInterface;
interface KernelInterface extends HttpKernelInterface, \Serializable
{
public function registerBundles();
public function registerContainerConfiguration(LoaderInterface $loader);
public function boot();
public function shutdown();
public function getBundles();
public function getBundle($name, $first = true);
public function locateResource($name, $dir = null, $first = true);
public function getName();
public function getEnvironment();
public function isDebug();
public function getRootDir();
public function getContainer();
public function getStartTime();
public function getCacheDir();
public function getLogDir();
public function getCharset();
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0