wp-cli not working
-
Hi,
wp-cli commands are not working when this is activated. Getting error in console.Warning: Some code is trying to do a URL redirect. Backtrace:
#0 WP_CLI\Utils\wp_redirect_handler(https://10.0.0.18/html/wordpress/wp-login.php?redirect_to=http%3A%2F%2F%3A)
#1 call_user_func_array(WP_CLI\Utils\wp_redirect_handler, Array ([0] => https://10.0.0.18/html/wordpress/wp-login.php?redirect_to=http%3A%2F%2F%3A)) called at [/var/www/html/wordpress/wp-includes/plugin.php:213]
#2 apply_filters(wp_redirect, https://10.0.0.18/html/wordpress/wp-login.php?redirect_to=http%3A%2F%2F%3A, 302) called at [/var/www/html/wordpress/wp-includes/pluggable.php:1158]
#3 wp_redirect(https://10.0.0.18/html/wordpress/wp-login.php?redirect_to=http%3A%2F%2F%3A, 302) called at [/var/www/html/wordpress/wp-includes/pluggable.php:1226]
#4 wp_safe_redirect(https://10.0.0.18/html/wordpress/wp-login.php?redirect_to=http%3A%2F%2F%3A, 302) called at [/var/www/html/wordpress/wp-content/plugins/wp-force-login/wp-force-login.php:38]
#5 v_forcelogin()
#6 call_user_func_array(v_forcelogin, Array ([0] => )) called at [/var/www/html/wordpress/wp-includes/plugin.php:496]
#7 do_action(init) called at [phar:///usr/bin/wp-cli/php/wp-settings-cli.php:349]
#8 require(phar:///usr/bin/wp-cli/php/wp-settings-cli.php) called at [phar:///usr/bin/wp-cli/php/wp-cli.php:26]
#9 include(phar:///usr/bin/wp-cli/php/wp-cli.php) called at [phar:///usr/bin/wp-cli/php/boot-phar.php:5]
#10 include(phar:///usr/bin/wp-cli/php/boot-phar.php) called at [/usr/bin/wp-cli:4]
- The topic ‘wp-cli not working’ is closed to new replies.