Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[2.8] Have a problem with debug:container #17007

Closed
@henres

Description

@henres

Can't find the title method in the ConsoleOutput class and in his extends/implements.
Can't reproduce the problem with standard project

php app/console debug:container -vvv
[2015-12-14 14:57:16] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".  
[2015-12-14 14:57:16] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand".  
PHP Fatal error:  Call to undefined method Symfony\Component\Console\Output\ConsoleOutput::title() in /var/www/come1job/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php on line 181
[2015-12-14 14:57:16] php.CRITICAL: Fatal Error: Call to undefined method Symfony\Component\Console\Output\ConsoleOutput::title() {"type":1,"file":"/var/www/come1job/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php","line":181,"level":-1,"stack":[]} 



  [Symfony\Component\Debug\Exception\UndefinedMethodException]                                                    
  Attempted to call an undefined method named "title" of class "Symfony\Component\Console\Output\ConsoleOutput".  



Exception trace:
 () at /var/www/come1job/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php:181


debug:container [--show-private] [--tag TAG] [--tags] [--parameter PARAMETER] [--parameters] [--format FORMAT] [--raw] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--] <command> [<name>]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions