humhub / polls

Empower your users to create polls and survey to drive engagement and gather valuable insights from your community.
16 stars 24 forks source link

Yii Console Help broken with Rest and Polls module #102

Closed luke- closed 2 years ago

luke- commented 2 years ago
 % php yii help
Exception 'Error' with message 'Class "humhub\modules\rest\components\BaseContentController" not found'

in /srv/http/luke/humhub/modules/polls/controllers/rest/PollsController.php:20

Stack trace:
#0 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/BaseYii.php(293): include()
#1 [internal function]: yii\BaseYii::autoload()
#2 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(279): class_exists()
#3 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(257): yii\console\controllers\HelpController->validateControllerClass()
#4 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(240): yii\console\controllers\HelpController->getModuleCommands()
#5 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(172): yii\console\controllers\HelpController->getModuleCommands()
#6 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(192): yii\console\controllers\HelpController->getCommands()
#7 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(292): yii\console\controllers\HelpController->getCommandDescriptions()
#8 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/controllers/HelpController.php(67): yii\console\controllers\HelpController->getDefaultHelp()
#9 [internal function]: yii\console\controllers\HelpController->actionIndex()
#10 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#11 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()
#12 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/Controller.php(182): yii\base\Controller->runAction()
#13 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/base/Module.php(552): yii\console\Controller->runAction()
#14 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction()
#15 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction()
#16 /srv/http/luke/humhub/humhub/protected/vendor/yiisoft/yii2/base/Application.php(384): yii\console\Application->handleRequest()
#17 /srv/http/luke/humhub/humhub/protected/yii(29): yii\base\Application->run()
#18 {main}