Skip to content
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

Wrong command "mode" #1129

Closed
cevou opened this issue Sep 20, 2012 · 3 comments
Closed

Wrong command "mode" #1129

cevou opened this issue Sep 20, 2012 · 3 comments

Comments

@cevou
Copy link

cevou commented Sep 20, 2012

Hi,

composer worked well for me but since today I get the following error. Any suggestions how to fix that?

Der Befehl "mode" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
PHP Fatal error: Uncaught exception 'ErrorException' with message 'Undefined offset: 4' in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:852

Stack trace:
#0 phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(852): Composer\Util\ErrorHandler::handle(8, 'Undefined offse...', 'phar://C:/Users...', 852, Array)
#1 phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(780): Symfony\Component\Console\Application->getTerminalWidth()
#2 phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(113): Symfony\Component\Console\Application->renderException(Object(RuntimeException), Object(Symfony\Component\Console\Output\StreamOutput))
#3 phar://C:/Users/Christoph/Software/composer.phar/src/Composer/Console/Application.php(72): Symfony\Component\Console\Application->run(NULL, Object(Symfony\Comp in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 852

Fatal error: Uncaught exception 'ErrorException' with message 'Undefined offset: 4' in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 852

ErrorException: Undefined offset: 4 in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 852

Call Stack:
0.0038 409424 1. {main}() C:\Users\Christoph\Software\composer.phar:0
0.0039 413944 2. require('phar://C:/Users/Christoph/Software/composer.phar/bin/composer') C:\Users\Christoph\Software\composer.phar:15
0.0210 2453112 3. Composer\Console\Application->run() phar://C:/Users/Christoph/Software/composer.phar/bin/composer:37
0.0237 2684824 4. Symfony\Component\Console\Application->run() phar://C:/Users/Christoph/Software/composer.phar/src/Composer/Console/Application.php:72

@cevou
Copy link
Author

cevou commented Sep 20, 2012

Ok, fixed it by myself..

@cevou cevou closed this as completed Sep 20, 2012
@Seldaek
Copy link
Member

Seldaek commented Sep 20, 2012

Care to say what it was/what you fixed?

@cevou
Copy link
Author

cevou commented Sep 20, 2012

I was trying out phpdocumentor and added it's /bin dir to my PATH.
After removing it form path again everything worked as before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants