-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Bug Report
- Yes, I reviewed the contribution guidelines.
- Yes, more specifically, I reviewed the guidelines on how to write clear bug reports.
Describe the current, buggy behavior
When running WP CLI commands with the nightly version on PHP 7.4, there are a lot of PHP warnings and notices related to mustache templates, for example:
PHP Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php on line 278
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/wp:0
PHP 2. include() /usr/local/bin/wp:4
PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
PHP 5. WP_CLI\Bootstrap\LaunchRunner->process($state = class WP_CLI\Bootstrap\BootstrapState { private $state = array () }) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP 7. WP_CLI\Runner->do_early_invoke($when = 'before_wp_load') phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1103
PHP 8. WP_CLI\Runner->run_command_and_exit($help_exit_warning = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:87
PHP 9. WP_CLI\Runner->run_command($args = array (0 => 'core', 1 => 'download'), $assoc_args = array (), $options = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:394
PHP 10. WP_CLI\Dispatcher\Subcommand->invoke($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:371
PHP 11. WP_CLI\Dispatcher\Subcommand->validate_args($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:436
PHP 12. WP_CLI\Dispatcher\Subcommand->get_longdesc() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:320
PHP 13. WP_CLI\Dispatcher\Subcommand->get_global_params($root_command = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:134
PHP 14. WP_CLI\Utils\mustache_render($template_name = 'man-params.mustache', $data = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:309
PHP 15. Mustache_Engine->render($template = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $context = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php:506
PHP 16. Mustache_Engine->loadTemplate($name = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:236
PHP 17. Mustache_Engine->loadSource($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $cache = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:657
PHP 18. Mustache_Engine->compile($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:738
PHP 19. Mustache_Engine->parse($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:808
PHP 20. Mustache_Parser->parse($tokens = array (0 => array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18), 1 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 3 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 4 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 5 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 6 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 7 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 9 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 10 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 11 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 13 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 14 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 15 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 16 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 17 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 18 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 19 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 20 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 21 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 22 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 23 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 24 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 25 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 26 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 27 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 28 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 29 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 30 => array ('type' => '_t', 'line' => 18, 'value' => '\n'))) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:783
PHP 21. Mustache_Parser->buildTree($tokens = array (0 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 1 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 3 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 4 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 5 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 6 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 7 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 9 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 10 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 11 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 12 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 13 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 14 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 15 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 16 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 17 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 18 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 19 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 20 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 21 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 22 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 23 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 24 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 25 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 26 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 27 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 28 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 29 => array ('type' => '_t', 'line' => 18, 'value' => '\n')), $parent = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:43
PHP 22. Mustache_Parser->checkIfTokenIsAllowedInParent($parent = NULL, $token = array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18)) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:103
Describe how other contributors can replicate this bug
This happens on VVV when PHP 7.4 is installed, but I expect it to happen elsewhere. The behaviour does not occur in 7.3/7.2
Describe what you expect as the correct outcome
I'm hoping this has been fixed upstream and an update of the dependencies is all that's required
Let us know what environment you are running this on
vagrant@vvv:~$ wp cli info
PHP Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php on line 278
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/wp:0
PHP 2. include() /usr/local/bin/wp:4
PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
PHP 5. WP_CLI\Bootstrap\LaunchRunner->process($state = class WP_CLI\Bootstrap\BootstrapState { private $state = array ('is_protected_command' => TRUE) }) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP 7. WP_CLI\Runner->run_command_and_exit($help_exit_warning = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1071
PHP 8. WP_CLI\Runner->run_command($args = array (0 => 'cli', 1 => 'info'), $assoc_args = array (), $options = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:394
PHP 9. WP_CLI\Dispatcher\Subcommand->invoke($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:371
PHP 10. WP_CLI\Dispatcher\Subcommand->validate_args($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:436
PHP 11. WP_CLI\Dispatcher\Subcommand->get_longdesc() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:320
PHP 12. WP_CLI\Dispatcher\Subcommand->get_global_params($root_command = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:134
PHP 13. WP_CLI\Utils\mustache_render($template_name = 'man-params.mustache', $data = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:309
PHP 14. Mustache_Engine->render($template = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $context = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php:506
PHP 15. Mustache_Engine->loadTemplate($name = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:236
PHP 16. Mustache_Engine->loadSource($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $cache = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:657
PHP 17. Mustache_Engine->compile($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:738
PHP 18. Mustache_Engine->parse($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:808
PHP 19. Mustache_Parser->parse($tokens = array (0 => array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18), 1 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 3 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 4 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 5 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 6 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 7 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 9 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 10 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 11 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 13 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 14 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 15 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 16 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 17 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 18 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 19 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 20 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 21 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 22 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 23 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 24 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 25 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 26 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 27 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 28 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 29 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 30 => array ('type' => '_t', 'line' => 18, 'value' => '\n'))) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:783
PHP 20. Mustache_Parser->buildTree($tokens = array (0 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 1 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 3 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 4 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 5 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 6 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 7 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 9 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 10 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 11 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 12 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 13 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 14 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 15 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 16 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 17 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 18 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 19 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 20 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 21 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 22 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 23 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 24 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 25 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 26 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 27 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 28 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 29 => array ('type' => '_t', 'line' => 18, 'value' => '\n')), $parent = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:43
PHP 21. Mustache_Parser->checkIfTokenIsAllowedInParent($parent = NULL, $token = array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18)) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:103
PHP Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php on line 278
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/wp:0
PHP 2. include() /usr/local/bin/wp:4
PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
PHP 5. WP_CLI\Bootstrap\LaunchRunner->process($state = class WP_CLI\Bootstrap\BootstrapState { private $state = array ('is_protected_command' => TRUE) }) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP 7. WP_CLI\Runner->run_command_and_exit($help_exit_warning = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1071
PHP 8. WP_CLI\Runner->run_command($args = array (0 => 'cli', 1 => 'info'), $assoc_args = array (), $options = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:394
PHP 9. WP_CLI\Dispatcher\Subcommand->invoke($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:371
PHP 10. WP_CLI\Dispatcher\Subcommand->validate_args($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:436
PHP 11. WP_CLI\Dispatcher\Subcommand->get_longdesc() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:320
PHP 12. WP_CLI\Dispatcher\Subcommand->get_global_params($root_command = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:134
PHP 13. WP_CLI\Utils\mustache_render($template_name = 'man-params.mustache', $data = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:309
PHP 14. Mustache_Engine->render($template = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $context = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php:506
PHP 15. Mustache_Engine->loadTemplate($name = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:236
PHP 16. Mustache_Engine->loadSource($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $cache = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:657
PHP 17. Mustache_Engine->compile($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:738
PHP 18. Mustache_Engine->parse($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:808
PHP 19. Mustache_Parser->parse($tokens = array (0 => array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18), 1 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 3 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 4 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 5 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 6 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 7 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 9 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 10 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 11 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 13 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 14 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 15 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 16 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 17 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 18 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 19 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 20 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 21 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 22 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 23 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 24 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 25 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 26 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 27 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 28 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 29 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 30 => array ('type' => '_t', 'line' => 18, 'value' => '\n'))) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:783
PHP 20. Mustache_Parser->buildTree($tokens = array (0 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 1 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 3 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 4 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 5 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 6 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 7 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 8 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 9 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 10 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 11 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 13 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 14 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 15 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 16 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 17 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 18 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 19 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 20 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 21 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 22 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 23 => array ('type' => '_t', 'line' => 18, 'value' => '\n')), $parent = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:43
PHP 21. Mustache_Parser->checkIfTokenIsAllowedInParent($parent = NULL, $token = array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60)) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:103
PHP Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php on line 278
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/wp:0
PHP 2. include() /usr/local/bin/wp:4
PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
PHP 5. WP_CLI\Bootstrap\LaunchRunner->process($state = class WP_CLI\Bootstrap\BootstrapState { private $state = array ('is_protected_command' => TRUE) }) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP 7. WP_CLI\Runner->run_command_and_exit($help_exit_warning = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1071
PHP 8. WP_CLI\Runner->run_command($args = array (0 => 'cli', 1 => 'info'), $assoc_args = array (), $options = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:394
PHP 9. WP_CLI\Dispatcher\Subcommand->invoke($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:371
PHP 10. WP_CLI\Dispatcher\Subcommand->validate_args($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:436
PHP 11. WP_CLI\Dispatcher\Subcommand->get_longdesc() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:320
PHP 12. WP_CLI\Dispatcher\Subcommand->get_global_params($root_command = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:134
PHP 13. WP_CLI\Utils\mustache_render($template_name = 'man-params.mustache', $data = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:309
PHP 14. Mustache_Engine->render($template = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $context = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php:506
PHP 15. Mustache_Engine->loadTemplate($name = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:236
PHP 16. Mustache_Engine->loadSource($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $cache = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:657
PHP 17. Mustache_Engine->compile($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:738
PHP 18. Mustache_Engine->parse($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:808
PHP 19. Mustache_Parser->parse($tokens = array (0 => array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18), 1 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 3 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 4 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 5 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 6 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 7 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 9 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 10 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 11 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 13 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 14 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 15 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 16 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 17 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 18 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 19 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 20 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 21 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 22 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 23 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 24 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 25 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 26 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 27 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 28 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 29 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 30 => array ('type' => '_t', 'line' => 18, 'value' => '\n'))) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:783
PHP 20. Mustache_Parser->buildTree($tokens = array (0 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 1 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 2 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 3 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 4 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 5 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 6 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 7 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 8 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 9 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 10 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 11 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 13 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 14 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 15 => array ('type' => '_t', 'line' => 18, 'value' => '\n')), $parent = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:43
PHP 21. Mustache_Parser->checkIfTokenIsAllowedInParent($parent = NULL, $token = array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121)) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:103
PHP Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php on line 278
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/wp:0
PHP 2. include() /usr/local/bin/wp:4
PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
PHP 5. WP_CLI\Bootstrap\LaunchRunner->process($state = class WP_CLI\Bootstrap\BootstrapState { private $state = array ('is_protected_command' => TRUE) }) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP 7. WP_CLI\Runner->run_command_and_exit($help_exit_warning = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1071
PHP 8. WP_CLI\Runner->run_command($args = array (0 => 'cli', 1 => 'info'), $assoc_args = array (), $options = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:394
PHP 9. WP_CLI\Dispatcher\Subcommand->invoke($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:371
PHP 10. WP_CLI\Dispatcher\Subcommand->validate_args($args = array (), $assoc_args = array (), $extra_args = array ()) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:436
PHP 11. WP_CLI\Dispatcher\Subcommand->get_longdesc() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:320
PHP 12. WP_CLI\Dispatcher\Subcommand->get_global_params($root_command = *uninitialized*) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:134
PHP 13. WP_CLI\Utils\mustache_render($template_name = 'man-params.mustache', $data = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php:309
PHP 14. Mustache_Engine->render($template = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $context = array ('root_command' => FALSE, 'is_subcommand' => TRUE, 'parameters' => array (0 => array ('synopsis' => '--path=<path>', 'desc' => 'Path to the WordPress files.'), 1 => array ('synopsis' => '--url=<url>', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.'), 2 => array ('synopsis' => '--ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant").'), 3 => array ('synopsis' => '--http=<http>', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.'), 4 => array ('synopsis' => '--user=<id|login|email>', 'desc' => 'Set the WordPress user.'), 5 => array ('synopsis' => '--skip-plugins[=<plugins>]', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.'), 6 => array ('synopsis' => '--skip-themes[=<themes>]', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.'), 7 => array ('synopsis' => '--skip-packages', 'desc' => 'Skip loading all installed packages.'), 8 => array ('synopsis' => '--require=<path>', 'desc' => 'Load PHP file before running the command (may be used more than once).'), 9 => array ('synopsis' => '--[no-]color', 'desc' => 'Whether to colorize the output.'), 10 => array ('synopsis' => '--debug[=<group>]', 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.'), 11 => array ('synopsis' => '--prompt[=<assoc>]', 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.'), 12 => array ('synopsis' => '--quiet', 'desc' => 'Suppress informational messages.')))) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php:506
PHP 15. Mustache_Engine->loadTemplate($name = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:236
PHP 16. Mustache_Engine->loadSource($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n', $cache = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:657
PHP 17. Mustache_Engine->compile($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:738
PHP 18. Mustache_Engine->parse($source = '{{#is_subcommand}}\n\n\n{{/is_subcommand}}\n{{#has_subcommands}}\n\n\n{{/has_subcommands}}\n## GLOBAL PARAMETERS\n\n{{#parameters}}\n {{synopsis}}\n {{desc}}\n\n{{/parameters}}\n{{#root_command}}\n Run \'wp help <command>\' to get more information on a specific command.\n\n{{/root_command}}\n') phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:808
PHP 19. Mustache_Parser->parse($tokens = array (0 => array ('type' => '#', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 0, 'index' => 18), 1 => array ('type' => '_t', 'line' => 0, 'value' => '\n'), 2 => array ('type' => '_t', 'line' => 1, 'value' => '\n'), 3 => array ('type' => '_t', 'line' => 2, 'value' => '\n'), 4 => array ('type' => '/', 'name' => 'is_subcommand', 'otag' => '{{', 'ctag' => '}}', 'line' => 3, 'index' => 21), 5 => array ('type' => '_t', 'line' => 3, 'value' => '\n'), 6 => array ('type' => '#', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 4, 'index' => 60), 7 => array ('type' => '_t', 'line' => 4, 'value' => '\n'), 8 => array ('type' => '_t', 'line' => 5, 'value' => '\n'), 9 => array ('type' => '_t', 'line' => 6, 'value' => '\n'), 10 => array ('type' => '/', 'name' => 'has_subcommands', 'otag' => '{{', 'ctag' => '}}', 'line' => 7, 'index' => 63), 11 => array ('type' => '_t', 'line' => 7, 'value' => '\n'), 12 => array ('type' => '_t', 'line' => 8, 'value' => '## GLOBAL PARAMETERS\n'), 13 => array ('type' => '_t', 'line' => 9, 'value' => '\n'), 14 => array ('type' => '#', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 10, 'index' => 121), 15 => array ('type' => '_t', 'line' => 10, 'value' => '\n'), 16 => array ('type' => '_t', 'line' => 11, 'value' => ' '), 17 => array ('type' => '_v', 'name' => 'synopsis', 'otag' => '{{', 'ctag' => '}}', 'line' => 11, 'index' => 136), 18 => array ('type' => '_t', 'line' => 11, 'value' => '\n'), 19 => array ('type' => '_t', 'line' => 12, 'value' => ' '), 20 => array ('type' => '_v', 'name' => 'desc', 'otag' => '{{', 'ctag' => '}}', 'line' => 12, 'index' => 151), 21 => array ('type' => '_t', 'line' => 12, 'value' => '\n'), 22 => array ('type' => '_t', 'line' => 13, 'value' => '\n'), 23 => array ('type' => '/', 'name' => 'parameters', 'otag' => '{{', 'ctag' => '}}', 'line' => 14, 'index' => 153), 24 => array ('type' => '_t', 'line' => 14, 'value' => '\n'), 25 => array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186), 26 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 27 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 28 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 29 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 30 => array ('type' => '_t', 'line' => 18, 'value' => '\n'))) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:783
PHP 20. Mustache_Parser->buildTree($tokens = array (0 => array ('type' => '_t', 'line' => 15, 'value' => '\n'), 1 => array ('type' => '_t', 'line' => 16, 'value' => ' Run \'wp help <command>\' to get more information on a specific command.\n'), 2 => array ('type' => '_t', 'line' => 17, 'value' => '\n'), 3 => array ('type' => '/', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 18, 'index' => 261), 4 => array ('type' => '_t', 'line' => 18, 'value' => '\n')), $parent = *uninitialized*) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:43
PHP 21. Mustache_Parser->checkIfTokenIsAllowedInParent($parent = NULL, $token = array ('type' => '#', 'name' => 'root_command', 'otag' => '{{', 'ctag' => '}}', 'line' => 15, 'index' => 186)) phar:///usr/local/bin/wp/vendor/mustache/mustache/src/Mustache/Parser.php:103
OS: Linux 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php7.4
PHP version: 7.4.0RC4
php.ini used: /etc/php/7.4/cli/php.ini
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /home/vagrant
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.3.0
vagrant@vvv:~$
lkraav, pbowyer and osvald-laurits