i18n-command icon indicating copy to clipboard operation
i18n-command copied to clipboard

Undefined method WP_CLI\I18n\MakePotCommand::get_file_data_from_string

Open bilalmalkoc opened this issue 2 years ago • 1 comments

I got this error when trying to extract .pot file. When i delete i18n-command package it is working.

You said here, don't need to install this package because it is already in wp cli. But update-po command not registered in wp cli core. So i install i18n-command package to make it work. But in this time, make-pot command not working.

PHP Fatal error: Uncaught Error: Call to undefined method WP_CLI\I18n\MakePotCommand::get_file_data_from_string() in phar:///usr/local/bin/wp/vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php:58

bilalmalkoc avatar Sep 10 '22 15:09 bilalmalkoc

Duplicate of #336

Please try wp cli update --nightly

swissspidy avatar Sep 10 '22 20:09 swissspidy