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 with files from stream #149

Closed
TorWaG77 opened this issue Dec 13, 2021 · 3 comments
Closed

Error with files from stream #149

TorWaG77 opened this issue Dec 13, 2021 · 3 comments
Assignees

Comments

@TorWaG77
Copy link

Since cfiles 0.14.1 we have an error in the folder "files from the stream", if the stream is not empty:
yii\base\UnknownPropertyException: Getting unknown property: humhub\modules\cfiles\models\rows\BaseFileRow::item in /var/www/humhub/protected/vendor/yiisoft/yii2/base/Component.php:155 Stack trace: #0 /var/www/humhub/protected/modules/cfiles/widgets/views/fileSystemItem.php(46): yii\base\Component->__get() #1 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/humhub...') #2 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile() #3 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile() #4 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(237): yii\base\View->render() #5 /var/www/humhub/protected/modules/cfiles/widgets/FileSystemItem.php(51): yii\base\Widget->render() #6 /var/www/humhub/protected/humhub/components/Widget.php(63): humhub\modules\cfiles\widgets\FileSystemItem->run() #7 /var/www/humhub/protected/modules/cfiles/widgets/views/fileList.php(55): humhub\components\Widget::widget() #8 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/humhub...') #9 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile() #10 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile() #11 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(237): yii\base\View->render() #12 /var/www/humhub/protected/modules/cfiles/widgets/FileList.php(136): yii\base\Widget->render() #13 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(141): humhub\modules\cfiles\widgets\FileList->run() #14 /var/www/humhub/protected/modules/cfiles/widgets/views/folderView.php(29): yii\base\Widget::widget() #15 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/humhub...') #16 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile() #17 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile() #18 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(237): yii\base\View->render() #19 /var/www/humhub/protected/modules/cfiles/widgets/FolderView.php(65): yii\base\Widget->render() #20 /var/www/humhub/protected/humhub/components/Widget.php(63): humhub\modules\cfiles\widgets\FolderView->run() #21 /var/www/humhub/protected/modules/cfiles/views/browse/index.php(36): humhub\components\Widget::widget() #22 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/humhub...') #23 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile() #24 /var/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile() #25 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(410): yii\base\View->render() #26 /var/www/humhub/protected/modules/cfiles/controllers/BrowseController.php(36): yii\base\Controller->render() #27 [internal function]: humhub\modules\cfiles\controllers\BrowseController->actionIndex() #28 /var/www/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #29 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams() #30 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Module.php(534): yii\base\Controller->runAction() #31 /var/www/humhub/protected/vendor/yiisoft/yii2/web/Application.php(104): yii\base\Module->runAction() #32 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(392): yii\web\Application->handleRequest() #33 /var/www/humhub/index.php(25): yii\base\Application->run() #34 {main}

@yurabakhtin
Copy link
Contributor

@luke- Fixed in PR #150.

@luke-
Copy link
Contributor

luke- commented Dec 15, 2021

@yurabakhtin Thanks
@TorWaG77 Fixed with 1.14.2

@luke- luke- closed this as completed Dec 15, 2021
@TorWaG77
Copy link
Author

@yurabakhtin Thanks for your fast work

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

No branches or pull requests

3 participants