[wp-trac] [WordPress Trac] #44429: WP-CLI incompatibility with wp_redirect( https://... )

WordPress Trac noreply at wordpress.org
Tue Jul 24 12:28:57 UTC 2018


#44429: WP-CLI incompatibility with wp_redirect( https://... )
------------------------------------------------+--------------------------
 Reporter:  ecahost7                            |       Owner:  (none)
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
                                                |  Review
Component:  General                             |     Version:
 Severity:  major                               |  Resolution:
 Keywords:  dev-feedback has-patch 2nd-opinion  |     Focuses:
------------------------------------------------+--------------------------
Description changed by SergeyBiryukov:

Old description:

> Hello,
>
> My wordpress wouldn't update and I see errors below,
> I also trying to update my site URL to include www to it but I can't
> change it due update failure.
>
> Warning: The system could not load some of this WordPress installation’s
> data. Certain sections of this interface may not function correctly.
> (XID nw85up) The system failed to run the wp-cli batch commands with the
> following issues: Warning: Some code is trying to do a URL redirect.
> Backtrace: #0 WP_CLI\Utils\wp_redirect_handler(https://) #1
> call_user_func_array(WP_CLI\Utils\wp_redirect_handler, Array ([0] =>
> https://)) called at [/home/rsed43dqsw/public_html/wp-includes/class-wp-
> hook.php:288] #2 WP_Hook->apply_filters(https://, Array ([0] =>
> https://,[1] => 301)) called at [/home/rsed43dqsw/public_html/wp-
> includes/plugin.php:203] #3 apply_filters(wp_redirect, https://, 301)
> called at [/home/rsed43dqsw/public_html/wp-includes/pluggable.php:1196]
> #4 wp_redirect(https://, 301) called at [/home/rsed43dqsw/public_html/wp-
> content/plugins/force-https-littlebizzy/core/redirect.php:91] #5
> FHTTPS_Core_Redirect->redirect() called at [/home/rsed43dqsw/public_html
> /wp-content/plugins/force-https-littlebizzy/core/redirect.php:68] #6
> FHTTPS_Core_Redirect->start() #7 call_user_func_array(Array ([0] =>
> FHTTPS_Core_Redirect Object (),[1] => start), Array ([0] => )) called at
> [/home/rsed43dqsw/public_html/wp-includes/class-wp-hook.php:286] #8
> WP_Hook->apply_filters(, Array ([0] => )) called at
> [/home/rsed43dqsw/public_html/wp-includes/class-wp-hook.php:310] #9
> WP_Hook->do_action(Array ([0] => )) called at
> [/home/rsed43dqsw/public_html/wp-includes/plugin.php:453] #10
> do_action(plugins_loaded) called at [/home/rsed43dqsw/public_html/wp-
> settings.php:327] #11 require(/home/rsed43dqsw/public_html/wp-
> settings.php) called at [phar:///usr/local/cpanel/3rdparty/share/wp-cli
> /wp-cli.phar/php/WP_CLI/Runner.php:1174] #12
> WP_CLI\Runner->load_wordpress() called at
> [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
> cli.phar/php/WP_CLI/Runner.php:1100] #13 WP_CLI\Runner->start() called at
> [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
> cli.phar/php/WP_CLI/Bootstrap/LaunchRunner.php:23] #14
> WP_CLI\Bootstrap\LaunchRunner->process(WP_CLI\Bootstrap\BootstrapState
> Object ([] => Array ())) called at
> [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
> cli.phar/php/bootstrap.php:75] #15 WP_CLI\bootstrap() called at
> [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-cli.phar/php/wp-
> cli.php:23] #16 include(phar:///usr/local/cpanel/3rdparty/share/wp-cli
> /wp-cli.phar/php/wp-cli.php) called at
> [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-cli.phar/php/boot-
> phar.php:8] #17 include(phar:///usr/local/cpanel/3rdparty/share/wp-cli
> /wp-cli.phar/php/boot-phar.php) called at
> [/usr/local/cpanel/3rdparty/share/wp-cli/wp-cli.phar:4]

New description:

 Hello,

 My wordpress wouldn't update and I see errors below,
 I also trying to update my site URL to include www to it but I can't
 change it due update failure.
 {{{
 Warning: The system could not load some of this WordPress installation’s
 data. Certain sections of this interface may not function correctly.
 (XID nw85up) The system failed to run the wp-cli batch commands with the
 following issues: Warning: Some code is trying to do a URL redirect.
 Backtrace:
 #0 WP_CLI\Utils\wp_redirect_handler(https://)
 #1 call_user_func_array(WP_CLI\Utils\wp_redirect_handler, Array ([0] =>
 https://)) called at [/home/rsed43dqsw/public_html/wp-includes/class-wp-
 hook.php:288]
 #2 WP_Hook->apply_filters(https://, Array ([0] => https://,[1] => 301))
 called at [/home/rsed43dqsw/public_html/wp-includes/plugin.php:203]
 #3 apply_filters(wp_redirect, https://, 301) called at
 [/home/rsed43dqsw/public_html/wp-includes/pluggable.php:1196]
 #4 wp_redirect(https://, 301) called at [/home/rsed43dqsw/public_html/wp-
 content/plugins/force-https-littlebizzy/core/redirect.php:91]
 #5 FHTTPS_Core_Redirect->redirect() called at
 [/home/rsed43dqsw/public_html/wp-content/plugins/force-https-
 littlebizzy/core/redirect.php:68]
 #6 FHTTPS_Core_Redirect->start()
 #7 call_user_func_array(Array ([0] => FHTTPS_Core_Redirect Object (),[1]
 => start), Array ([0] => )) called at [/home/rsed43dqsw/public_html/wp-
 includes/class-wp-hook.php:286]
 #8 WP_Hook->apply_filters(, Array ([0] => )) called at
 [/home/rsed43dqsw/public_html/wp-includes/class-wp-hook.php:310]
 #9 WP_Hook->do_action(Array ([0] => )) called at
 [/home/rsed43dqsw/public_html/wp-includes/plugin.php:453]
 #10 do_action(plugins_loaded) called at [/home/rsed43dqsw/public_html/wp-
 settings.php:327]
 #11 require(/home/rsed43dqsw/public_html/wp-settings.php) called at
 [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
 cli.phar/php/WP_CLI/Runner.php:1174]
 #12 WP_CLI\Runner->load_wordpress() called at
 [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
 cli.phar/php/WP_CLI/Runner.php:1100]
 #13 WP_CLI\Runner->start() called at
 [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
 cli.phar/php/WP_CLI/Bootstrap/LaunchRunner.php:23]
 #14 WP_CLI\Bootstrap\LaunchRunner->process(WP_CLI\Bootstrap\BootstrapState
 Object ([] => Array ())) called at
 [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
 cli.phar/php/bootstrap.php:75]
 #15 WP_CLI\bootstrap() called at [phar:///usr/local/cpanel/3rdparty/share
 /wp-cli/wp-cli.phar/php/wp-cli.php:23]
 #16 include(phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-cli.phar/php
 /wp-cli.php) called at [phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-
 cli.phar/php/boot-phar.php:8]
 #17 include(phar:///usr/local/cpanel/3rdparty/share/wp-cli/wp-cli.phar/php
 /boot-phar.php) called at [/usr/local/cpanel/3rdparty/share/wp-cli/wp-
 cli.phar:4]

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44429#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list