当我从控制台启动教义迁移差异命令时,我收到此错误(详细模式):
cagliostro@cagliostro:~/Projects/Pherserk/my-project$ bin/console doc:mig:diff -vvv
[2016-12-04 13:30:03] php.DEBUG: mkdir(): File exists {"type":2,"file":"/home/cagliostro/Projects/Pherserk/my-project/vendor/doctrine/doctrine-migrations-bundle/Command/DoctrineCommand.php","line":35,"level":28928}
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: A non-numeric value encountered
Exception trace:
() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Output/Output.php:145
Symfony\Component\Debug\ErrorHandler->handleError() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Output/Output.php:145
Symfony\Component\Console\Output\Output->write() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Output/Output.php:134
Symfony\Component\Console\Output\Output->writeln() at /home/cagliostro/Projects/Pherserk/my-project/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/DiffCommand.php:119
Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand->execute() at /home/cagliostro/Projects/Pherserk/my-project/vendor/doctrine/doctrine-migrations-bundle/Command/MigrationsDiffDoctrineCommand.php:61
Doctrine\Bundle\MigrationsBundle\Command\MigrationsDiffDoctrineCommand->execute() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:254
Symfony\Component\Console\Command\Command->run() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:837
Symfony\Component\Console\Application->doRunCommand() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:187
Symfony\Component\Console\Application->doRun() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/cagliostro/Projects/Pherserk/my-project/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:118
Symfony\Component\Console\Application->run() at /home/cagliostro/Projects/Pherserk/my-project/bin/console:28
doctrine:migrations:diff [--editor-cmd [EDITOR-CMD]] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--filter-expression [FILTER-EXPRESSION]] [--formatted] [--line-length [LINE-LENGTH]] [--em [EM]] [--shard SHARD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
实体中的任何注释或值是否存在问题?我该如何调试它?