Last active
July 10, 2017 17:02
-
-
Save quoidautre/7dab20bc772c6d8e41d28e26017255ba to your computer and use it in GitHub Desktop.
Issue in vagrant box, using Symfony
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfconsole cache:clear -vvv | |
18:59:29 DEBUG [php] Warning: rmdir(/var/www/formation/symfony-blog/var/cache/de~/translations): Directory not empty | |
[ | |
"exception" => Symfony\Component\Debug\Exception\SilencedErrorContext { | |
-severity: E_WARNING, | |
trace: { | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:174: { | |
: , | |
: if (!@rmdir($file) && file_exists($file)) {, | |
: $error = error_get_last(); | |
} | |
} | |
} | |
] | |
[] | |
18:59:29 INFO [php] User Deprecated: The "Symfony\Component\Console\Event\ConsoleExceptionEvent" class is deprecated since version 3.3 and will be removed in 4.0. Use the ConsoleErrorEvent instead. | |
[ | |
"exception" => Symfony\Component\Debug\Exception\ContextErrorException { | |
-context: [ | |
"class" => "Symfony\Component\Console\Event\ConsoleExceptionEvent", | |
"file" => "/var/www/formation/symfony-blog/vendor/composer/../symfony/symfony/src/Symfony/Component/Console/Event/ConsoleExceptionEvent.php" | |
], | |
#message: "User Deprecated: The "Symfony\Component\Console\Event\ConsoleExceptionEvent" class is deprecated since version 3.3 and will be removed in 4.0. Use the ConsoleErrorEvent instead.", | |
#code: 0, | |
#file: "/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Event/ConsoleExceptionEvent.php", | |
#line: 14, | |
#severity: E_USER_DEPRECATED, | |
trace: { | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Event/ConsoleExceptionEvent.php:14: { | |
: , | |
: @trigger_error(sprintf('The "%s" class is deprecated since version 3.3 and will be removed in 4.0. Use the ConsoleErrorEvent instead.', ConsoleExceptionEvent::class), E_USER_DEPRECATED);, | |
: | |
}, | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:144: { | |
: if ($file = $this->classLoader[0]->findFile($class)) {, | |
: require_once $file;, | |
: }, | |
arguments: { | |
"/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Event/ConsoleExceptionEvent.php" | |
} | |
}, | |
Symfony\Component\Debug\DebugClassLoader->loadClass(): {}, | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:897: { | |
: $x = $e instanceof \Exception ? $e : new FatalThrowableError($e);, | |
: $event = new ConsoleExceptionEvent($command, $input, $output, $x, $x->getCode());, | |
: $this->dispatcher->dispatch(ConsoleEvents::EXCEPTION, $event);, | |
arguments: { | |
$class_name: "Symfony\Component\Console\Event\ConsoleExceptionEvent" | |
} | |
}, | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223: { | |
: $this->runningCommand = $command;, | |
: $exitCode = $this->doRunCommand($command, $input, $output);, | |
: $this->runningCommand = null;, | |
arguments: { | |
$command: Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand { …}, | |
$input: Symfony\Component\Console\Input\ArgvInput {#1 …}, | |
$output: Symfony\Component\Console\Output\ConsoleOutput {#2 …} | |
} | |
}, | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81: { | |
: , | |
: return parent::doRun($input, $output);, | |
: }, | |
arguments: { | |
$input: Symfony\Component\Console\Input\ArgvInput {#1 …}, | |
$output: Symfony\Component\Console\Output\ConsoleOutput {#2 …} | |
} | |
}, | |
/var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130: { | |
: $e = null;, | |
: $exitCode = $this->doRun($input, $output);, | |
: } catch (\Exception $x) {, | |
arguments: { | |
$input: Symfony\Component\Console\Input\ArgvInput {#1 …}, | |
$output: Symfony\Component\Console\Output\ConsoleOutput {#2 …} | |
} | |
}, | |
/var/www/formation/symfony-blog/bin/console:28: { | |
: $application = new Application($kernel);, | |
: $application->run($input);, | |
: , | |
arguments: { | |
$input: Symfony\Component\Console\Input\ArgvInput {#1 …} | |
} | |
} | |
} | |
} | |
] | |
[] | |
[Symfony\Component\Filesystem\Exception\IOException] | |
Failed to remove directory "/var/www/formation/symfony-blog/var/cache/de~/translations": . | |
Exception trace: | |
() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:176 | |
Symfony\Component\Filesystem\Filesystem->remove() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:172 | |
Symfony\Component\Filesystem\Filesystem->remove() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:70 | |
Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:264 | |
Symfony\Component\Console\Command\Command->run() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887 | |
Symfony\Component\Console\Application->doRunCommand() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223 | |
Symfony\Component\Console\Application->doRun() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81 | |
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/formation/symfony-blog/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130 | |
Symfony\Component\Console\Application->run() at /var/www/formation/symfony-blog/bin/console:28 | |
cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment