Skip to content
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

Fix installation migration bug #301

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

timkelty
Copy link
Contributor

@timkelty timkelty commented Sep 6, 2024

Exception: Calling unknown method: craft\console\Request::getBodyParam() (/var/www/html/vendor/yiisoft/yii2/base/Component.php:310)
#0 /var/www/html/vendor/verbb/comments/src/services/Comments.php(996): yii\base\Component->__call()
#1 /var/www/html/vendor/verbb/comments/src/migrations/Install.php(29): verbb\comments\services\Comments->saveFieldLayout()
#2 /var/www/html/vendor/craftcms/cms/src/db/Migration.php(50): verbb\comments\migrations\Install->safeUp()
#3 /var/www/html/vendor/craftcms/cms/src/db/MigrationManager.php(233): craft\db\Migration->up()
#4 /var/www/html/vendor/craftcms/cms/src/base/Plugin.php(144): craft\db\MigrationManager->migrateUp()
#5 /var/www/html/vendor/craftcms/cms/src/services/Plugins.php(538): craft\base\Plugin->install()
#6 /var/www/html/vendor/craftcms/cms/src/console/controllers/PluginController.php(281): craft\services\Plugins->installPlugin()
#7 /var/www/html/vendor/craftcms/cms/src/console/controllers/PluginController.php(143): craft\console\controllers\PluginController->_installPluginByHandle()
#8 [internal function]: craft\console\controllers\PluginController->actionInstall()
#9 /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#10 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()
#11 /var/www/html/vendor/yiisoft/yii2/console/Controller.php(180): yii\base\Controller->runAction()
#12 /var/www/html/vendor/craftcms/cms/src/console/ControllerTrait.php(89): yii\console\Controller->runAction()
#13 /var/www/html/vendor/craftcms/cms/src/console/Controller.php(216): craft\console\Controller->traitRunAction()
#14 /var/www/html/vendor/yiisoft/yii2/base/Module.php(552): craft\console\Controller->runAction()
#15 /var/www/html/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction()
#16 /var/www/html/vendor/craftcms/cms/src/console/Application.php(91): yii\console\Application->runAction()
#17 /var/www/html/vendor/yiisoft/yii2/console/Application.php(147): craft\console\Application->runAction()
#18 /var/www/html/vendor/craftcms/cms/src/console/Application.php(122): yii\console\Application->handleRequest()
#19 /var/www/html/vendor/yiisoft/yii2/base/Application.php(384): craft\console\Application->handleRequest()
#20 /var/www/html/craft(13): yii\base\Application->run()
#21 {main}
*** failed to install comments: An error occurred while executing the "verbb\comments\migrations\Install migration: Calling unknown method: craft\console\Request::getBodyParam()

@timkelty timkelty changed the title Fix installation bug Fix installation migration bug Sep 6, 2024
@engram-design engram-design merged commit 4d8a085 into verbb:craft-5 Sep 7, 2024
@engram-design
Copy link
Member

engram-design commented Sep 7, 2024

Thanks @timkelty !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants