{"action":"opened","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/487","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/487/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/487/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/487/events","html_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/issues/487","id":102347980,"number":487,"title":"Attempted to call method \"getName\" on class \"Twig_Test_Method\"","user":{"login":"dnna","id":1296821,"avatar_url":"https://avatars.githubusercontent.com/u/1296821?v=3","gravatar_id":"","url":"https://api.github.com/users/dnna","html_url":"https://github.com/dnna","followers_url":"https://api.github.com/users/dnna/followers","following_url":"https://api.github.com/users/dnna/following{/other_user}","gists_url":"https://api.github.com/users/dnna/gists{/gist_id}","starred_url":"https://api.github.com/users/dnna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnna/subscriptions","organizations_url":"https://api.github.com/users/dnna/orgs","repos_url":"https://api.github.com/users/dnna/repos","events_url":"https://api.github.com/users/dnna/events{/privacy}","received_events_url":"https://api.github.com/users/dnna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-21T10:26:08Z","updated_at":"2015-08-21T10:26:08Z","closed_at":null,"body":"Hello,\r\n\r\nI tried including FOSCommentBundle in my project with Symfony 2.6 but it seems to crash Twig with the error mentioned in the title. I'm posting the require part of my composer.json below if it helps:\r\n\r\n```\r\n    \"require\": {\r\n        \"php\": \">=5.4\",\r\n        \"symfony/symfony\": \"2.6.*\",\r\n        \"cnerta/breadcrumb-bundle\": \"2.0.*\",\r\n        \"doctrine/orm\": \"2.5.*@dev\",\r\n        \"doctrine/doctrine-bundle\": \"dev-master\",\r\n        \"doctrine/doctrine-fixtures-bundle\": \"dev-master\",\r\n        \"doctrine/doctrine-cache-bundle\": \"*\",\r\n        \"knplabs/knp-paginator-bundle\": \"2.4.*\",\r\n        \"liuggio/excelbundle\": \"2.0.*\",\r\n        \"twig/extensions\": \"1.2.*\",\r\n        \"sunra/php-simple-html-dom-parser\": \"v1.5.0\",\r\n        \"symfony/assetic-bundle\": \"2.6.*\",\r\n        \"symfony/swiftmailer-bundle\": \"2.3.*\",\r\n        \"symfony/monolog-bundle\": \"2.6.*\",\r\n        \"sensio/distribution-bundle\": \"3.0.*\",\r\n        \"sensio/framework-extra-bundle\": \"3.0.*\",\r\n        \"sonata-project/admin-bundle\": \"2.3.3\",\r\n        \"sonata-project/doctrine-orm-admin-bundle\": \"2.3.1\",\r\n        \"sonata-project/media-bundle\": \"2.3.1\",\r\n        \"sonata-project/formatter-bundle\": \"2.3.3\",\r\n        \"sonata-project/intl-bundle\": \"2.2.*\",\r\n        \"jms/i18n-routing-bundle\": \"dev-master\",\r\n        \"jms/security-extra-bundle\": \"1.5.*\",\r\n        \"jms/serializer-bundle\": \"*\",\r\n        \"friendsofsymfony/user-bundle\": \"*\",\r\n        \"friendsofsymfony/rest-bundle\": \"*\",\r\n        \"friendsofsymfony/rest\": \"*\",\r\n        \"friendsofsymfony/comment-bundle\": \"2.0.*\",\r\n        \"nelmio/api-doc-bundle\": \"2.4.*\",\r\n        \"stof/doctrine-extensions-bundle\": \"dev-patch-2\",\r\n        \"gedmo/doctrine-extensions\": \"v2.4.0\",\r\n        \"ruudk/capifony-tools\": \"dev-master\"\r\n    }\r\n```"}}