0

I tried to run symfony console command, but I've got an error:

Notice: Undefined variable: output in /var/www/.../vendor/symfony/symfony/src/Symfony/Component/Console/Helper/DialogHelper.php line 411

I have no idea, why it went wrong.

Can anyone help?

6
  • Try to migrate to Symfony 2.3 as it is a LTS version. Commented Jun 21, 2013 at 10:30
  • Maybe i'll try later, because i have many deprecated methods, which Symfony 2.3 not support. Commented Jun 21, 2013 at 10:42
  • @Florent I have migrate to Symfony 2.3.3 but unfortunately i have the same error. Commented Aug 14, 2013 at 9:55
  • Can you edit your post and add your composer.json file? Commented Aug 14, 2013 at 10:05
  • Try to change minimum-stability to alpha and then run composer update. You're vendors seems to be outdated. Commented Aug 14, 2013 at 11:36

1 Answer 1

3

I've solved the problem: this error appears because exec() and shell_exec functions was disabled in php.ini file. To enable this functions you have to edit this string:

disable_functions =exec,passthru,shell_exec,system,proc_open

and delete exec, shell_exec:

disable_functions =passthru,system,proc_open

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.