Closed ibndawood closed 6 months ago
We also get the following error:
PHP Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php on line 130
PHP Stack trace:
PHP 1. {main}() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/boot-fs.php:0
PHP 2. require_once() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/boot-fs.php:17
PHP 3. WP_CLI\bootstrap() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/wp-cli.php:32
PHP 4. WP_CLI\Bootstrap\LaunchRunner->process($state = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/bootstrap.php:83
PHP 5. WP_CLI\Runner->start() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:28
PHP 6. WP_CLI\Runner->do_early_invoke($when = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1202
PHP 7. WP_CLI\Runner->run_command_and_exit($help_exit_warning = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:131
PHP 8. WP_CLI\Runner->run_command($args = *uninitialized*, $assoc_args = *uninitialized*, $options = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:454
PHP 9. WP_CLI\Dispatcher\Subcommand->invoke($args = *uninitialized*, $assoc_args = *uninitialized*, $extra_args = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:431
PHP 10. call_user_func:{/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491}(*uninitialized*, *uninitialized*, *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491
PHP 11. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure:/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:97-104}($args = *uninitialized*, $assoc_args = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491
PHP 12. call_user_func:{/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100}(*uninitialized*, *uninitialized*, *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100
PHP 13. WP_CLI\I18n\MakePotCommand->__invoke($args = *uninitialized*, $assoc_args = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100
PHP 14. WP_CLI\I18n\MakePotCommand->extract_strings() /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/MakePotCommand.php:285
PHP 15. WP_CLI\I18n\PhpCodeExtractor::fromDirectory($dir = *uninitialized*, $translations = *uninitialized*, $options = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/MakePotCommand.php:640
PHP 16. WP_CLI\I18n\PhpCodeExtractor::fromFile($file_or_files = *uninitialized*, $translations = *uninitialized*, $options = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php:123
PHP 17. WP_CLI\I18n\PhpCodeExtractor::fromString($text = *uninitialized*, $translations = *uninitialized*, $options = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php:94
PHP 18. Gettext\Extractors\PhpCode::fromStringMultiple($string = *uninitialized*, $translations = *uninitialized*, $options = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/PhpCodeExtractor.php:55
PHP 19. WP_CLI\I18n\PhpFunctionsScanner->saveGettextFunctions($translations = *uninitialized*, $options = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:71
PHP 20. WP_CLI\I18n\PhpFunctionsScanner->getFunctions($constants = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/PhpFunctionsScanner.php:23
PHP 21. Gettext\Extractors\PhpCode::convertString($value = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Utils/PhpFunctionsScanner.php:102
PHP 22. preg_replace_callback(*uninitialized*, *uninitialized*, *uninitialized*) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:106
PHP 23. Gettext\Extractors\PhpCode::Gettext\Extractors\{closure:/Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:107-134}($match = *uninitialized*) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:106
PHP 24. hexdec(*uninitialized*) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:130
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php on line 130
Call Stack:
0.0014 407128 1. {main}() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/boot-fs.php:0
0.0014 418008 2. require_once('/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/wp-cli.php') /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/boot-fs.php:17
0.0016 446584 3. WP_CLI\bootstrap() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/wp-cli.php:32
0.0131 3549560 4. WP_CLI\Bootstrap\LaunchRunner->process(???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/bootstrap.php:83
0.0131 3549600 5. WP_CLI\Runner->start() /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:28
0.0132 3549816 6. WP_CLI\Runner->do_early_invoke(???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1202
0.0133 3550944 7. WP_CLI\Runner->run_command_and_exit(???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:131
0.0133 3550944 8. WP_CLI\Runner->run_command(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:454
0.0134 3552496 9. WP_CLI\Dispatcher\Subcommand->invoke(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:431
0.0167 4009720 10. call_user_func:{/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491}(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491
0.0167 4009720 11. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure:/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:97-104}(???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491
0.0167 4010856 12. call_user_func:{/Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100}(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100
0.0167 4010856 13. WP_CLI\I18n\MakePotCommand->__invoke(???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100
0.0180 4021056 14. WP_CLI\I18n\MakePotCommand->extract_strings() /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/MakePotCommand.php:285
0.0190 4312616 15. WP_CLI\I18n\PhpCodeExtractor::fromDirectory(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/MakePotCommand.php:640
0.0433 4348200 16. WP_CLI\I18n\PhpCodeExtractor::fromFile(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php:123
0.2632 4704448 17. WP_CLI\I18n\PhpCodeExtractor::fromString(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php:94
0.2633 4704824 18. Gettext\Extractors\PhpCode::fromStringMultiple(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/PhpCodeExtractor.php:55
0.2706 5463552 19. WP_CLI\I18n\PhpFunctionsScanner->saveGettextFunctions(???, ???) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:71
0.2706 5463552 20. WP_CLI\I18n\PhpFunctionsScanner->getFunctions(???) /Projects/facebook-for-woocommerce/vendor/wp-cli/i18n-command/src/PhpFunctionsScanner.php:23
0.2724 5545184 21. Gettext\Extractors\PhpCode::convertString(???) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Utils/PhpFunctionsScanner.php:102
0.2724 5545544 22. preg_replace_callback(???, ???, ???) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:106
0.2724 5545992 23. Gettext\Extractors\PhpCode::Gettext\Extractors\{closure:/Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:107-134}(???) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:106
0.2724 5546024 24. hexdec(???) /Projects/facebook-for-woocommerce/vendor/gettext/gettext/src/Extractors/PhpCode.php:130
When we run
npm run i18n
we get the following warnings: