The system failed to run the wp-cli batch commands

Leong Vincent

Registered
Apr 1, 2019
1
0
1
bandar puteri
cPanel Access Level
Root Administrator
HI, currently facing the The system failed to run the wp-cli batch commands error.

Below is the full error details, may i know what to cause this happened?

Really thank you if someone can help on it.

Code:
The system failed to run the wp-cli batch commands with the following issues: Cpanel::Exception::ProcessFailed::Error/(XID dtvrvk) “/usr/local/bin/php” reported error code “255” when it ended: at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 149. Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x398b8f0)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 527 Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/usr/local/bin/php", "args", ARRAY(0x397c030), "timeout", 20, "stdin", ...) called at /usr/local/cpanel/Cpanel/WordPress/WpCli.pm line 80 Cpanel::WordPress::WpCli::wp_cli("wp_dir", "/home/examplecom/public_html", "wp_cache_dir", "/usr/local/cpanel/php/wp-cli/cache", "wp_config_path", "/usr/local/cpanel/php/wp-cli/config", "wp_packages_dir", "/usr/local/cpanel/php/wp-cli/packages", ...) called at /usr/local/cpanel/Cpanel/WordPress/WpCli.pm line 145 Cpanel::WordPress::WpCli::_ANON() called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 97 eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 88 Try::Tiny::try(CODE(0x398b068), Try::Tiny::Catch=REF(0x1030d08)) called at /usr/local/cpanel/Cpanel/WordPress/WpCli.pm line 166 Cpanel::WordPress::WpCli::batch("wp_dir", "/home/examplecom/public_html", "text", "# core version returns a string that needs special handling\x{a}#"...) called at /usr/local/cpanel/Cpanel/WordPress/Instances.pm line 372 Cpanel::WordPress::Instances::_load_expensive(HASH(0x379ba10), HASH(0x343bba0)) called at /usr/local/cpanel/Cpanel/WordPress/Instances.pm line 304 eval {...} called at /usr/local/cpanel/Cpanel/WordPress/Instances.pm line 304 Cpanel::WordPress::Instances::get_instance_by_id("cPanel::Blogs::WordPressX.0.1554109089") called at /usr/local/cpanel/Cpanel/API/WordPressInstanceManager.pm line 293 Cpanel::API::WordPressInstanceManager::get_instance_by_id(Cpanel::Args=HASH(0x33ca0e0), Cpanel::Result=HASH(0x33cc2b0)) called at /usr/local/cpanel/Cpanel/API.pm line 302 Cpanel::API::ANON_() called at /usr/local/cpanel/Cpanel/API.pm line 373 eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 373 Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x33cc2b0), CODE(0x381df38)) called at /usr/local/cpanel/Cpanel/API.pm line 302 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x33ca0e0), Cpanel::Result=HASH(0x33cc2b0), "WordPressInstanceManager", "get_instance_by_id") called at /usr/local/cpanel/Cpanel/API.pm line 164 Cpanel::API::execute("WordPressInstanceManager", "get_instance_by_id", HASH(0x3415268)) called at /usr/local/cpanel/Cpanel/API.pm line 584 Cpanel::API::run_api_mode(HASH(0x3415268)) called at uapi.pl line 307 main::script() called at uapi.pl line 138
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello @Leong Vincent,

Can you share the step-by-step instructions for the method you are using to reproduce this error message? Also, please post the output from the commands below:

Code:
cat /etc/redhat-release
cat /usr/local/cpanel/version
ls /etc/cpanel/ea4/is_ea4
Thank you.