You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WP-CLI plugin activation breaks due to redirect #40
When activating all plugins on a site using wp-cli, the process breaks after activating multicollab due to a redirect. The remainder of the plugins do not get activated due to this issue.
Plugin 'xxx' activated. Warning: Some code is trying to do a URL redirect. Backtrace: #0 WP_CLI\Utils\wp_redirect_handler(http://[domain.com]/wp-admin/admin.php?activated=1&page=editorial-comments) called at [/path/to/core/wp-includes/class-wp-hook.php:305]
This bug breaks a build pipeline that activates a number of plugins on a site. The build script activates plugins in alphabetical order, but because of the redirect, the activation script stalls after multicollab, and as a result half the plugins on the site aren't being activated.
Activity
macr1408 commentedon Nov 19, 2021
I can confirm this issue is happening, plugins should not redirect when using WP CLI.
benlk commentedon Dec 10, 2021
This bug breaks a build pipeline that activates a number of plugins on a site. The build script activates plugins in alphabetical order, but because of the redirect, the activation script stalls after multicollab, and as a result half the plugins on the site aren't being activated.
crazyjaco commentedon Jan 26, 2022
Just noting that this is still an issue. We've had to remove the plugin from our environments due to this problem.
poojabhimani12 commentedon Feb 7, 2022
Closing this because it's a report for version 2.0.2. Updating a new version will solve this.