Skip to content

Instantly share code, notes, and snippets.

@killua99
Created January 16, 2017 10:56
Show Gist options
  • Save killua99/a3039dc4cc617f2dcc31094f1cd14fb1 to your computer and use it in GitHub Desktop.
Save killua99/a3039dc4cc617f2dcc31094f1cd14fb1 to your computer and use it in GitHub Desktop.
Console rc14
$ drupal list
TypeError: Argument 3 passed to Drupal\Console\Command\Config\DeleteCommand::__construct() must be an instance of Drupal\Core\Config\FileStorage, instance of Drupal\config_split\Config\StorageWrapper given in /www/conventus/docroot/vendor/drupal/console/src/Command/Config/DeleteCommand.php on line 48 #0 [internal function]: Drupal\Console\Command\Config\DeleteCommand->__construct(Object(Drupal\Core\Config\ConfigFactory), Object(Drupal\Core\Config\CachedStorage), Object(Drupal\config_split\Config\StorageWrapper))
#1 phar:///usr/local/bin/drupal/vendor/symfony/dependency-injection/ContainerBuilder.php(928): ReflectionClass->newInstanceArgs(Array)
#2 phar:///usr/local/bin/drupal/vendor/symfony/dependency-injection/ContainerBuilder.php(468): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), 'console.config_...')
#3 /www/conventus/docroot/vendor/drupal/console/src/Application.php(179): Symfony\Component\DependencyInjection\ContainerBuilder->get('console.config_...')
#4 /www/conventus/docroot/vendor/drupal/console/src/Application.php(44): Drupal\Console\Application->registerCommands()
#5 phar:///usr/local/bin/drupal/vendor/symfony/console/Application.php(124): Drupal\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /www/conventus/docroot/vendor/drupal/console/bin/drupal.php(67): Symfony\Component\Console\Application->run()
#7 phar:///usr/local/bin/drupal/src/Utils/Launcher.php(30): include_once('/www/conventus/...')
#8 phar:///usr/local/bin/drupal/bin/drupal.php(87): Drupal\Console\Launcher\Utils\Launcher->launch('/www/conventus/...')
#9 phar:///usr/local/bin/drupal/bin/drupal(3): require('phar:///usr/loc...')
#10 /usr/local/bin/drupal(10): require('phar:///usr/loc...')
#11 {main}
TypeError: Argument 3 passed to Drupal\Console\Command\Config\DeleteCommand::__construct() must be an instance of Drupal\Core\Config\FileStorage, instance of Drupal\config_split\Config\StorageWrapper given in Drupal\Console\Command\Config\DeleteCommand->__construct() (line 48 of /www/conventus/docroot/vendor/drupal/console/src/Command/Config/DeleteCommand.php).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment