Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error Cannot redeclare class Twig_Environment #2495

Copy link
Copy link
Closed
@Chrysweel

Description

@Chrysweel
Issue body actions

I updated vendors, and only update version twig.

 - Removing twig/twig (1.x-dev 460712d)
  - Installing twig/twig (1.x-dev 04ef7a1)
    Loading from cache

But now I get the following error:

FatalErrorException in Environment.php line 17: Error: Cannot redeclare class Twig_Environment

I cleared cache... but the error continue... I did a compare two commits... but I dont see nothing unusual...

460712d...04ef7a1#diff-d4416d290253c72cec40c63f54354b16

any idea ?

This is my composer

	"require" : {
		"php" : "^5.6|^7.0",
		"ext-mcrypt" : "*",
		"twig/extensions" : "^1.4",
		"sensio/framework-extra-bundle" : "~3.0",
		"sensio/generator-bundle" : "~3.0",
		"symfony/assetic-bundle": "2.8.1",
		"incenteev/composer-parameter-handler" : "~2.0",
		"twbs/bootstrap" : "dev-master",
		"knplabs/knp-paginator-bundle" : "dev-master",
		"craue/formflow-bundle" : "2.1.8",
		"shtumi/useful-bundle" : "dev-master",
		"sonata-project/formatter-bundle" : "2.3.2",
		"sonata-project/doctrine-extensions" : "1.0.2",
		"frequence-web/contact-bundle" : "*",
		"jms/serializer-bundle" : "^1.1",
        "sylius/sylius": "1.0.0-alpha.2",
		"presta/sitemap-bundle" : "~1.3@dev",
		"beelab/recaptcha2-bundle" : "1.2.1",
		"dizda/cloud-backup-bundle" : "^3.2",
		"aws/aws-sdk-php" : "2.8.24",
		"lexik/maintenance-bundle" : "2.1.1",
		"hwi/oauth-bundle" : "0.3.x",
		"friendsofsymfony/rest-bundle" : "1.8.x",
		"crevillo/payum-redsys" : "^1.0",
		"payum/paypal-express-checkout-nvp" : "^1.3",
		"php-http/guzzle6-adapter" : "^1.1",
		"oyejorge/less.php": "v1.7.0.10",
		"doctrine/doctrine-cache-bundle": "^1.3",
		"predis/predis": "^1.1",
		"snc/redis-bundle": "^2.0",
		"knplabs/knp-gaufrette-bundle": "^0.3.0",
		"liip/imagine-bundle": "1.7.2",
		"phpdocumentor/reflection-docblock": "2.0.4"
	},
	"require-dev" : {
		"raulfraile/ladybug-bundle" : "~1.0",
		"behat/behat" : "~3.0",
		"behat/symfony2-extension" : "~2.0@dev",
		"behat/mink-extension" : "~2.0@dev",
		"behat/mink-browserkit-driver" : "~1.2@dev",
		"behat/mink-selenium2-driver" : "@dev",
		"behat/mink" : "~1.6@dev",
		"fzaninotto/faker" : "~1.2",
		"phpunit/phpunit" : "<=5.7",
		"visithor/visithor-bundle" : "^0.1.0@dev",
		"michaelmoussa/doctrine-qbmocker": "^0.12.0"
	},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.