Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in 'clean' install (used to work before) #41

Closed
webspin opened this issue May 12, 2012 · 1 comment
Closed

error in 'clean' install (used to work before) #41

webspin opened this issue May 12, 2012 · 1 comment

Comments

@webspin
Copy link

webspin commented May 12, 2012

When I try the export to translation files:
php app/console translation:extract fr --dir=./src/ --output-dir=./app/Resources/translations

[ErrorException]
Catchable Fatal Error: Argument 1 passed to PHPParser_Parser::__construct() must be an instance of PHPParser_Lexer, none given, called in /applocation/vendor/bundles/JMS/TranslationBundle/Translation/Extractor/FileExtractor.php on line 56 and defined in /applocation/vendor/php-parser/lib/PHPParser/Parser.php line 903

@labs-scnm
Copy link

Use the specific version v0.9.1 of the php-parser.

dep file

[php-parser]
    git=https://github.com/nikic/PHP-Parser.git
    version=v0.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants