Greeting everyone...
/etc/redhat-release:CentOS release 6.10 (Final)
/usr/local/cpanel/version:11.80.0.11
/var/cpanel/envtype:virtuozzo
CPANEL=release
I have a couple of Wordpress sites I installed "manually" (i.e. server side). I am wanting Wordpress Manager to recognize these sites... after running the "Discover Sites" I get the following error. Screenshot attached.
"The system found a new WordPress site, “/home/alamojo/public_html/wp-config.php”, but could not make it manageable because of the following error: (XID csn2k9) “/usr/local/bin/php” reported error code “255” when it ended: "
Wordpress also returns this error in error_log:
"[04-Jun-2019 11:46:11 Pacific/Auckland] PHP Fatal error: Uncaught Error: Call to undefined function add_filter() in phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(358) : eval()'d code:91
Stack trace:
#0 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(358): eval()
#1 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(289): Config_Command::get_wp_config_vars()
#2 [internal function]: Config_Command->list_(Array, Array)
#3 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(93): call_user_func(Array, Array, Array)
#4 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#5 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(449): call_user_func(Object(Closure), Array, Array)
# in phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(358) : eval()'d code on line 91
"
/etc/redhat-release:CentOS release 6.10 (Final)
/usr/local/cpanel/version:11.80.0.11
/var/cpanel/envtype:virtuozzo
CPANEL=release
I have a couple of Wordpress sites I installed "manually" (i.e. server side). I am wanting Wordpress Manager to recognize these sites... after running the "Discover Sites" I get the following error. Screenshot attached.
"The system found a new WordPress site, “/home/alamojo/public_html/wp-config.php”, but could not make it manageable because of the following error: (XID csn2k9) “/usr/local/bin/php” reported error code “255” when it ended: "
Wordpress also returns this error in error_log:
"[04-Jun-2019 11:46:11 Pacific/Auckland] PHP Fatal error: Uncaught Error: Call to undefined function add_filter() in phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(358) : eval()'d code:91
Stack trace:
#0 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(358): eval()
#1 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(289): Config_Command::get_wp_config_vars()
#2 [internal function]: Config_Command->list_(Array, Array)
#3 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(93): call_user_func(Array, Array, Array)
#4 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#5 phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(449): call_user_func(Object(Closure), Array, Array)
# in phar:///usr/local/cpanel/3rdparty/share/cpanel-wp-cli/wp-cli.phar/vendor/wp-cli/config-command/src/Config_Command.php(358) : eval()'d code on line 91
"
Attachments
-
73 KB Views: 12