Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Error while uploading document #48

Open
ChilliPipper opened this issue Nov 18, 2021 · 2 comments
Open

Error while uploading document #48

ChilliPipper opened this issue Nov 18, 2021 · 2 comments

Comments

@ChilliPipper
Copy link

I’m trying to upload a document and this is happening, I searched for that error but didn’t found anything. I’ve attached everything.

This is the complete error stack:

yii\base\UnknownPropertyException: Setting unknown property: tracker\models\Document::access_for_all in /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Component.php:210
Stack trace:
#0 /var/www/html/humhub/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(324): yii\base\Component->__set()
#1 /var/www/html/humhub/protected/modules/tracker_issue/controllers/services/DocumentCreator.php(97): yii\db\BaseActiveRecord->__set()
#2 /var/www/html/humhub/protected/modules/tracker_issue/controllers/DocumentController.php(99): tracker\controllers\services\DocumentCreator->create()
#3 [internal function]: tracker\controllers\DocumentController->actionCreate()
#4 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#5 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams()
#6 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Module.php(534): yii\base\Controller->runAction()
#7 /var/www/html/humhub/protected/vendor/yiisoft/yii2/web/Application.php(104): yii\base\Module->runAction()
#8 /var/www/html/humhub/protected/vendor/yiisoft/yii2/base/Application.php(392): yii\web\Application->handleRequest()
#9 /var/www/html/humhub/index.php(25): yii\base\Application->run()
#10 {main}

1
2

@ChilliPipper ChilliPipper changed the title Error while uploadind document Error while uploading document Nov 18, 2021
@ArchBlood
Copy link

Have you tried removing 'access_for_all' from the required field? From looking at the code access_for_all isn't really used much for it to be required in the first place. 🤔

I'm sure that there is a setting somewhere that hasn't been toggled that is causing the issue.

@githubjeka
Copy link
Owner

githubjeka commented Nov 25, 2021

try to flush database cache

https://docs.humhub.org/docs/admin/console/

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

No branches or pull requests

3 participants