search

Home  >  Q&A  >  body text

symfony2 error when executing doctrine:generate:entity command

The Entity shortcut name [AcmeDemoBundle:User]: Notice: Undefined variable: output in /opt/case/symfony/Symfony/vendor/symfony/symfony/src/Symfony/Component/Console/Helper/DialogHelper.php line 411

Report this error, why? If you execute the command directly after downloading, the environment is ubuntu+php5.3.18+nginx. Please fix it!

怪我咯怪我咯2754 days ago744

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:47:21

    Notice: Undefined variable: output
    The output variable is undefined. Check the source code

    reply
    0
  • PHPz

    PHPz2017-05-16 16:47:21

    Search disable_function in php.ini configuration

    Yours may look like this

    disable_functions =exec,passthru,shell_exec,system,proc_open
    

    You want to delete it

    exec, shell_exec
    

    reply
    0
  • Cancelreply