-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing some plugins from plugin store not behaving in same way as installing them locally #7204
Comments
Is there a specific error listed in
Not sure how that could be possible, since cms/src/controllers/BaseUpdaterController.php Line 318 in 1d69bfb
The Plugin Store installs plugins using cms/src/controllers/pluginstore/InstallController.php Lines 236 to 239 in 1d69bfb
|
I'm not seeing anything in the The error I see at the completion of the installation (after Sprout Email gets installed but before it redirects correctly): And, the most relevant thing I see in the web.log would just be the POST data during some of the composer actions which appears to have
If I add log statements in the returnUrl method for each of those values, it appears they are both null. I've bolded the line that indicates what I was trying to dump and any value that appears after the semi-colon is what was logged. In the first three cases, there was nothing logged. 2020-11-30 22:06:57 [-][1][-][trace][yii\base\InlineAction::runWithParams] Running action: craft\controllers\pluginstore\InstallController::actionFinish() 2020-11-30 22:06:57 [-][1][-][error][craft\controllers\pluginstore\InstallController::returnUrl] 2020-11-30 22:06:57 [-][1][-][error][craft\controllers\pluginstore\InstallController::returnUrl] 2020-11-30 22:06:57 [-][1][-][error][craft\controllers\pluginstore\InstallController::returnUrl] 2020-11-30 22:06:57 [-][1][-][error][craft\controllers\BaseUpdaterController::actionFinish] So I guess
|
I can reproduce with Sprout Email, and will look into it. |
Got this fixed for the next release. The error was a side effect of yiisoft/yii2#18083 which was merged into Yii 2.0.36, included in Craft 3.5.0. The PR added Before Craft runs the installer, it will swap out the app’s I had tested that redirects still work in 3.5.0 with SEOmatic, but the way that plugin redirects the request is different than Sprout Email. It calls |
Craft 3.5.17 is out now with this fix. |
Description
A user reports that installing the Lite version of Sprout Email from the Plugin Store results in an error:
I can recreate the error when installing from the Plugin Store but not when installing locally. I can also recreate the error when installing the full Trial version of Sprout Email and a Lite version of Sprout Forms. Again, in both cases, only when installing from the Plugin Store and not when installing locally.
It appears the plugin does get installed correctly and the error is thrown only at the last moment when Craft tries to redirect things in the
BaseUpdateController::actionFinish()
where the Return URL value appears to benull
:cms/src/controllers/BaseUpdaterController.php
Lines 251 to 260 in 1d69bfb
I've also tried installing the Lite version of Craft Commerce and it works fine. Could this be caused by something I am overlooking in the Sprout plugins? If so, any ideas what that may be? These were working at one point in time and I haven't been successful in tracking down any reason this behavior may be different than what is happening in Craft Commerce with the same install action from the Plugin Store.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: