Support » Plugin: Table Rate for WooCommerce by Flexible Shipping » Warning: Some code is trying to do a URL redirect.

  • Resolved apb1963

    (@apb1963)


    Should I be concerned?

    wp plugin install flexible-shipping -
    -activate  --path=/usr/local/src/template.myDomain.com --url=https://template.myDomain.com

    Installing Flexible Shipping for WooCommerce (1.9.12)
    Downloading installation package from https://downloads.wordpress.org/plugin/fle
    xible-shipping.1.9.12.zip…
    Unpacking the package…
    Installing the plugin…
    Plugin installed successfully.
    Activating ‘flexible-shipping’…
    Warning: Some code is trying to do a URL redirect. Backtrace:
    #0 WP_CLI\Utils\wp_redirect_handler(https://template.myDomain.com/wp-admin/adm
    in.php?page=wpdesk_tracker&plugin=flexible-shipping/flexible-shipping.php) calle
    d at [/data/local/src/template.myDomain.com/wp-includes/class-wp-hook.php:288]
    #1 WP_Hook->apply_filters(https://template.myDomain.com/wp-admin/admin.php?pag
    e=wpdesk_tracker&plugin=flexible-shipping/flexible-shipping.php, Array ([0] => h
    ttps://template.myDomain.com/wp-admin/admin.php?page=wpdesk_tracker&plugin=flex
    ible-shipping/flexible-shipping.php,[1] => 302)) called at [/data/local/src/temp
    late.myDomain.com/wp-includes/plugin.php:203]
    #2 apply_filters(wp_redirect, https://template.myDomain.com/wp-admin/admin.php
    ?page=wpdesk_tracker&plugin=flexible-shipping/flexible-shipping.php, 302) called
    at [/data/local/src/template.myDomain.com/wp-includes/pluggable.php:1196]
    #3 wp_redirect(https://template.myDomain.com/wp-admin/admin.php?page=wpdesk_tr
    acker&plugin=flexible-shipping/flexible-shipping.php) called at [/data/local/src
    /template.myDomain.com/wp-content/plugins/flexible-shipping/classes/tracker.php
    :205]
    #4 WPDesk_Flexible_Shipping_Tracker->activated_plugin(flexible-shipping/flexibl
    e-shipping.php, ) called at [/data/local/src/template.myDomain.com/wp-includes/
    class-wp-hook.php:286]
    #5 WP_Hook->apply_filters(, Array ([0] => flexible-shipping/flexible-shipping.p
    hp,[1] => )) called at [/data/local/src/template.myDomain.com/wp-includes/class
    -wp-hook.php:310]
    #6 WP_Hook->do_action(Array ([0] => flexible-shipping/flexible-shipping.php,[1]
    => )) called at [/data/local/src/template.myDomain.com/wp-includes/plugin.php:
    453]
    #7 do_action(activated_plugin, flexible-shipping/flexible-shipping.php, ) calle
    d at [/data/local/src/template.myDomain.com/wp-admin/includes/plugin.php:613]
    #8 activate_plugin(flexible-shipping/flexible-shipping.php, , ) called at [phar
    :///data/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php:302
    ]
    #9 Plugin_Command->activate(Array ([0] => flexible-shipping)) called at [phar:/
    //data/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrad
    e.php:219]
    #10 WP_CLI\CommandWithUpgrade->install(Array ([0] => flexible-shipping), Array (
    [activate] => 1)) called at [phar:///data/local/bin/wp/vendor/wp-cli/extension-c
    ommand/src/Plugin_Command.php:731]
    #11 Plugin_Command->install(Array ([0] => flexible-shipping), Array ([activate]
    => 1))
    ([inactive] => I,[active] => A,[active-network] => N,[must-use] => M,[parent] =>
    P),[long] => Array ([inactive] => Inactive,[active] => Active,[active-network]
    => Network Active,[must-use] => Must Use,[parent] => Parent)),[fetcher] => WP_CL
    install), Array ([0] => flexible-shipping), Array ([activate] => 1)) called at
    [phar:///data/local/bin/wp/php/WP_CLI/Dispatcher/CommandFactory.php:87]
    #13 WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array ([0] =>
    flexible-shipping), Array ([activate] => 1))
    #14 call_user_func(Closure Object (), Array ([0] => flexible-shipping), Array ([
    activate] => 1)) called at [phar:///data/local/bin/wp/php/WP_CLI/Dispatcher/Subc
    ommand.php:421]
    #15 WP_CLI\Dispatcher\Subcommand->invoke(Array ([0] => flexible-shipping), Array
    ([activate] => 1), Array ()) called at [phar:///data/local/bin/wp/php/WP_CLI/Ru
    nner.php:336]
    #16 WP_CLI\Runner->run_command(Array ([0] => plugin,[1] => install,[2] => flexib
    le-shipping), Array ([activate] => 1)) called at [phar:///data/local/bin/wp/php/
    WP_CLI/Runner.php:343]
    #17 WP_CLI\Runner->_run_command_and_exit() called at [phar:///data/local/bin/wp/
    php/WP_CLI/Runner.php:1034]
    #18 WP_CLI\Runner->start() called at [phar:///data/local/bin/wp/php/WP_CLI/Boots
    trap/LaunchRunner.php:23]
    #19 WP_CLI\Bootstrap\LaunchRunner->process(WP_CLI\Bootstrap\BootstrapState Objec
    local/bin/wp/php/bootstrap.php:75]
    #20 WP_CLI\bootstrap() called at [phar:///data/local/bin/wp/php/wp-cli.php:23]
    #21 include(phar:///data/local/bin/wp/php/wp-cli.php) called at [phar:///data/lo
    cal/bin/wp/php/boot-phar.php:8]
    #22 include(phar:///data/local/bin/wp/php/boot-phar.php) called at [/data/local/
    bin/wp:4]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    we are guessing that you are trying to install the plugin through WP-CLI but we did not include such a possibility in the plugin.

    After plugin’s activation in WordPress admin there is redirect to the screen with consent for tracking what is not possible through WP-CLI.

    We will work on possibility of activating the plugin by WP-CLI but In the meantime, I am asking you for its activation via WordPress panel.

    BR,
    Przemyslaw

    Thank you for responding and Happy New Year! Yes, I am trying to install using command line only for automated installation. Thank you!

    Plugin Support ospiotr

    (@ospiotr)

    Hello!

    Our developers team has fixed this. The fix will be included in the newest version of the plugin, which will be available for download shortly.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Some code is trying to do a URL redirect.’ is closed to new replies.