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

Skip to content

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

New issue

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

Closed
henres opened this issue Dec 14, 2015 · 8 comments
Closed

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

henres opened this issue Dec 14, 2015 · 8 comments

Comments

@henres
Copy link

henres commented Dec 14, 2015

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>]
@stof
Copy link
Member

stof commented Dec 14, 2015

@javiereguiluz can you check this ?

@javiereguiluz
Copy link
Member

@stof sure! But @henres says that "I can't reproduce the problem with standard project". So we'll need more information about your application to discover what's the origin of this error. Thanks.

@javiereguiluz
Copy link
Member

I recently made some changes (c658539) and I introduced some bugs. But they were very quickly fixed in a separate pull request (e18a42a).

@stof
Copy link
Member

stof commented Dec 14, 2015

@henres please show the output of composer show -i symfony/symfony

@xabbuh
Copy link
Member

xabbuh commented Dec 14, 2015

see #16955

@henres
Copy link
Author

henres commented Dec 14, 2015

I have the latest version with your pullrequest that use io instead of output.
My composer still running, so i post the result of @stof command in some times

@stof
Copy link
Member

stof commented Dec 14, 2015

I just merged the PR into 2.8

@henres
Copy link
Author

henres commented Dec 14, 2015

Ok thanks guys, works like a charm now with the latest PR :). Can now debug my own code x)

@henres henres closed this as completed Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants