drupal-console
drupal-console copied to clipboard
[config:export] Export site configuration results in a PHP Fatal error
This piece of code:
$this->addSuccessMessage(
$output,
sprintf($this->trans('commands.config.export.messages.directory'), $config_export_file)
);
is throwing an error:
PHP Fatal error: Call to undefined function
Symfony\Component\Console\Formatter\_drupal_get_last_caller() in
/var/www/DrupalAppConsole/vendor/symfony/console/Symfony/Component/Console/
Formatter/OutputFormatter.php on line 37
It seems like $output var is obsolete in addSuccessMessage() as a string is need to be passed.
Closed in favor of pull request: https://github.com/hechoendrupal/DrupalAppConsole/pull/476