The system failed to run the wp-cli batch commands

umair333

Registered
Mar 12, 2019
1
0
1
france
cPanel Access Level
Root Administrator
he system could not load some of this WordPress site’s data. Certain sections of this interface may not function correctly.
Code:
(XID nshbkx) The system failed to run the wp-cli batch commands with the following issues: STDERR: Use of uninitialized value in string eq at /var/cpanel/ea4/ea_php_cli.pm line 150. PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/wgethost/public_html/wp-content/plugins/hostiko-domain-checker/titan-framework/lib/class-option-font.php on line 849 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/wgethost/public_html/wp-content/plugins/hostiko-domain-checker/titan-framework/lib/class-option-font.php on line 849 Cpanel::Exception::ProcessFailed::Error/(XID tcfn7f) “/usr/local/bin/php” reported error code “255” when it ended: Use of uninitialized value in string eq at /var/cpanel/ea4/ea_php_cli.pm line 150. PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/wgethost/public_html/wp-content/plugins/hostiko-domain-checker/titan-framework/lib/class-option-font.php on line 849 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/wgethost/public_html/wp-content/plugins/hostiko-domain-checker/titan-framework/lib/class-option-font.php on line 849 at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 149. Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2a99370)) 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(0x2b9f480), "timeout", 20, "stdin", ...) called at /usr/local/cpanel/Cpanel/WordPress/WpCli.pm line 80 Cpanel::WordPress::WpCli::wp_cli("wp_dir", "/home/wgethost/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(0x2a98b18), Try::Tiny::Catch=REF(0x1031828)) called at /usr/local/cpanel/Cpanel/WordPress/WpCli.pm line 166 Cpanel::WordPress::WpCli::batch("wp_dir", "/home/wgethost/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(0x22c2c28), HASH(0x2b9ec10)) 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.1553091926") called at /usr/local/cpanel/Cpanel/API/WordPressInstanceManager.pm line 293 Cpanel::API::WordPressInstanceManager::get_instance_by_id(Cpanel::Args=HASH(0x1efdcf0), Cpanel::Result=HASH(0x1efda38)) 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(0x1efda38), CODE(0x2342af0)) called at /usr/local/cpanel/Cpanel/API.pm line 302 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x1efdcf0), Cpanel::Result=HASH(0x1efda38), "WordPressInstanceManager", "get_instance_by_id") called at /usr/local/cpanel/Cpanel/API.pm line 164 Cpanel::API::execute("WordPressInstanceManager", "get_instance_by_id", HASH(0x1f0e150)) called at /usr/local/cpanel/Cpanel/API.pm line 584 Cpanel::API::run_api_mode(HASH(0x1f0e150)) called at uapi.pl line 307 main::script() called at uapi.pl line 138
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hello @umair333
This indicates that you exceeded the PHP memory limit for the version of PHP this site is running on. In order to resolve this to allow this to run you'd need to go to WHM>>Software>>MultiPHP INI Editor and increase the Memory limit.

Thanks!
 

speckados

Well-Known Member
Hello @umair333
This indicates that you exceeded the PHP memory limit for the version of PHP this site is running on. In order to resolve this to allow this to run you'd need to go to WHM>>Software>>MultiPHP INI Editor and increase the Memory limit.

Thanks!
This is not a good response to a question.
WHM>>Software>>MultiPHP INI is for web no for PHP-cli

Try this (I hate copy and paste experts). Is an example for install a wordpress


php -d memory_limit=512M "$(which wp)" core download --locale=es_ES
 
Last edited: