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

Error in TwofaHelper.php after update #45

Closed
BarryJohnson01 opened this issue Feb 25, 2022 · 2 comments
Closed

Error in TwofaHelper.php after update #45

BarryJohnson01 opened this issue Feb 25, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BarryJohnson01
Copy link

Error: Cannot use object of type yii\web\Cookie as array in /var/www/vhosts/lostboysworld.org/protected/modules/twofa/helpers/TwofaHelper.php:345
Stack trace:
#0 /var/www/vhosts/lostboysworld.org/protected/modules/twofa/models/CheckCode.php(77): humhub\modules\twofa\helpers\TwofaHelper::rememberBrowser()
#1 /var/www/vhosts/lostboysworld.org/protected/modules/twofa/controllers/CheckController.php(48): humhub\modules\twofa\models\CheckCode->save()
#2 [internal function]: humhub\modules\twofa\controllers\CheckController->actionIndex()
#3 /var/www/vhosts/lostboysworld.org/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#4 /var/www/vhosts/lostboysworld.org/protected/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams(Array)
#5 /var/www/vhosts/lostboysworld.org/protected/vendor/yiisoft/yii2/base/Module.php(534): yii\base\Controller->runAction('', Array)
#6 /var/www/vhosts/lostboysworld.org/protected/vendor/yiisoft/yii2/web/Application.php(104): yii\base\Module->runAction('twofa/check', Array)
#7 /var/www/vhosts/lostboysworld.org/protected/vendor/yiisoft/yii2/base/Application.php(392): yii\web\Application->handleRequest(Object(humhub\components\Request))
#8 /var/www/vhosts/lostboysworld.org/index.php(32): yii\base\Application->run()
#9 {main}

@luke- luke- added the bug Something isn't working label Feb 27, 2022
@yurabakhtin
Copy link
Collaborator

@luke-
Copy link
Contributor

luke- commented Mar 2, 2022

@yurabakhtin thanks for the quick fix!

@luke- luke- closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants