ConnectedCommunities / humhub-modules-questionanswer

GNU Affero General Public License v3.0
28 stars 18 forks source link

Issue when I click "unanswered questions" and "picked for you" #56

Open exocode opened 6 years ago

exocode commented 6 years ago

what can cause this issue?

Thank you

yii\base\ErrorException: Undefined variable: contentContainer in /var/www/html/humhub/protected/modules/questionanswer/views/question/index.php:34
Stack trace:
#0 /var/www/html/humhub/protected/modules/questionanswer/views/question/index.php(34): yii\base\ErrorHandler->handleError(8, 'Undefined varia...', '/var/www/html/h...', 34, Array)
#1 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php(336): require('/var/www/html/h...')
#2 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile('/var/www/html/h...', Array)
#3 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/var/www/html/h...', Array, Object(humhub\modules\questionanswer\controllers\QuestionController))
#4 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render('index', Array, Object(humhub\modules\questionanswer\controllers\QuestionController))
#5 /var/www/html/humhub/protected/modules/questionanswer/controllers/QuestionController.php(302): yii\base\Controller->render('index', Array)
#6 [internal function]: humhub\modules\questionanswer\controllers\QuestionController->actionUnanswered()
#7 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#8 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#9 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('unanswered', Array)
#10 /var/www/html/humhub/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('questionanswer/...', Array)
#11 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request))
#12 /var/www/html/humhub/index.php(25): yii\base\Application->run()
#13 {main}
baoc75 commented 5 years ago

A pull request has been made #61

rafawrm commented 5 years ago

I have this bug too.