Closed mirlo06 closed 10 years ago
when i try http://sonata/app_dev.php/ it display me an error : Method "assets" for object "Sonata\PageBundle\Twig\GlobalVariables" does not exist in SonataPageBundle::base_layout.html.twig at line 36
here's my composer.json :
{ "name": "sonata-project/sandbox", "description": "Sonata Project's sandbox (with ecommerce bundles)",
"license": "MIT", "autoload": { "psr-0": { "": "src/" } }, "minimum-stability": "stable", "require": { "php": ">=5.3.3", "twig/twig": "~1.12", "twig/extensions": "~1.0", "symfony/symfony": "~2.3.7", "symfony/assetic-bundle": "~2.3", "symfony/swiftmailer-bundle": "~2.3", "symfony/monolog-bundle": "~2.3", "sensio/distribution-bundle": "~2.3", "sensio/framework-extra-bundle": "~2.3", "sensio/generator-bundle": "~2.3", "jms/security-extra-bundle": "~1.5", "jms/di-extra-bundle": "~1.4", "jms/serializer-bundle": "~0.11", "doctrine/orm": "~2.4", "doctrine/doctrine-bundle": "~1.2", "doctrine/doctrine-migrations-bundle": "~2.0dev", "doctrine/migrations": "~1.0@dev", "doctrine/doctrine-fixtures-bundle": "~2.2", "doctrine/data-fixtures": "~1.0@dev", "symfony-cmf/routing-bundle": "~1.1", "knplabs/gaufrette": "0.1.4", "knplabs/knp-menu-bundle": "1.1.x-dev", "knplabs/knp-markdown-bundle": "1.2.*@dev", "sonata-project/easy-extends-bundle": "~2.1", "sonata-project/seo-bundle": "~1", "sonata-project/doctrine-extensions": "~1", "sonata-project/intl-bundle": "~2.1", "sonata-project/admin-bundle": "~2.2", "sonata-project/doctrine-orm-admin-bundle": "~2.2", "sonata-project/notification-bundle": "~2.2", "sonata-project/block-bundle": "~2.2", "sonata-project/media-bundle": "~2.2", "sonata-project/user-bundle": "~2.2", "sonata-project/cache-bundle": "~2.1", "sonata-project/page-bundle": "~2.3", "sonata-project/formatter-bundle": "~2.3", "sonata-project/news-bundle": "~2.3", "sonata-project/exporter": "~1.3", "sonata-project/timeline-bundle": "~2.2@dev", "sonata-project/classification-bundle": "~2.2", "sonata-project/ecommerce": "~2.3@dev", "sonata-project/comment-bundle": "~2.2@dev", "friendsofsymfony/comment-bundle": "~2.0@dev", "dflydev/markdown": "~1.0", "simplethings/entity-audit-bundle": "~0.5", "willdurand/faker-bundle": "~1.0", "mopa/bootstrap-bundle": "v3.0.0-beta3", "twbs/bootstrap": "v3.0.0", "stof/doctrine-extensions-bundle": "~1.1", "stephpy/TimelineBundle": "~2.0@dev", "stephpy/timeline": "~1.0@dev", "incenteev/composer-parameter-handler": "~2.0", "oh/google-map-form-type-bundle": "dev-master", "creof/doctrine2-spatial": "dev-master" }, "require-dev": { "phpunit/phpunit": "~3.7", "guzzle/guzzle": "~3.0", "behat/behat": "~2.4", "behat/mink-extension": "~1.2", "behat/mink-goutte-driver": "~1.0", "behat/mink": "~1.5", "behat/mink-browserkit-driver": "~1.1", "behat/mink-selenium2-driver": "~1.1" }, "scripts": { "post-install-cmd": [ "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Mopa\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::postInstallSymlinkTwitterBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" ], "post-update-cmd": [ "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Mopa\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::postInstallSymlinkTwitterBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" ], "post-create-project-cmd": [ "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Mopa\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::postInstallSymlinkTwitterBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", "php load_data.php" ] }, "config": { "bin-dir": "bin" }, "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", "symfony-assets-install": "symlink", "branch-alias": { "dev-master": "2.3.x-dev" }, "incenteev-parameters": [{ "file": "app/config/parameters.yml", "env-map": { "database_driver": "DATABASE_DRIVER", "database_host": "DATABASE_HOST", "database_name": "DATABASE_NAME", "database_user": "DATABASE_USER", "database_password": "DATABASE_PASSWORD", "mailer_transport": "MAILER_TRANSPORT", "mailer_host": "MAILER_HOST", "mailer_user": "MAILER_USER", "mailer_password": "MAILER_PASSWORD", "sonata_media.cdn.host": "SONATA_MEDIA_CDN_HOST" } }] }
}
Hi there,
Which branch of the sandbox did you use?
sonata-project : sandbox:2.3.x-dev
Hi, We couldn't reproduce this error. We're closing the issue for now, please reopen it if the bug persists.
when i try http://sonata/app_dev.php/ it display me an error : Method "assets" for object "Sonata\PageBundle\Twig\GlobalVariables" does not exist in SonataPageBundle::base_layout.html.twig at line 36
here's my composer.json :
{ "name": "sonata-project/sandbox", "description": "Sonata Project's sandbox (with ecommerce bundles)",
}