We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"exception" => TypeError { #message: "strtolower() expects parameter 1 to be string, object given" #code: 0 #file: "./vendor/jms/translation-bundle/Translation/Extractor/File/FormExtractor.php" #line: 357 trace: { ./vendor/jms/translation-bundle/Translation/Extractor/File/FormExtractor.php:357 { …} ./vendor/jms/translation-bundle/Translation/Extractor/File/FormExtractor.php:111 { …} ./vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:123 { …} ./vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:146 { …}
Form
translation:extract en -vvv
Add string convert
if (!isset($returningMethods[strtolower((string)$var->name)])) {
The text was updated successfully, but these errors were encountered:
Hi, indeed that seems the right fix. Can you make a pull request for it? (editing
JMSTranslationBundle/Translation/Extractor/File/FormExtractor.php
Line 295 in b15adee
Sorry, something went wrong.
#545
Merge pull request #545 from TheRatG/master
15162b1
strtolower() expects parameter 1 to be string, object given Issue #544
Solved in #545
No branches or pull requests
Actual behavior
Steps to reproduce
Form
How to fix
Add string convert
The text was updated successfully, but these errors were encountered: