Giter Site home page Giter Site logo

Search error about cfiles HOT 5 CLOSED

humhub avatar humhub commented on September 14, 2024
Search error

from cfiles.

Comments (5)

buddh4 avatar buddh4 commented on September 14, 2024

Please post the full stack trace under "Administration -> Information -> Logging"

from cfiles.

boppy avatar boppy commented on September 14, 2024

To clarify the problem:

It does come up ONLY if Humhub tries to display a result of type FOLDER. Files can be displayed without any problem (at least over here).

My (minimized) stacktrace is

yii\base\ErrorException: Trying to get property of non-object in /var/www/PATH_TO_HUMHUB/protected/humhub/modules/stream/actions/Stream.php:308
Stack trace:
#0 /var/www/PATH_TO_HUMHUB/protected/humhub/modules/stream/actions/Stream.php(308): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/PATH_T...', 308, Array)
#1 /var/www/PATH_TO_HUMHUB/protected/humhub/modules/search/views/search/index.php(111): humhub\modules\stream\actions\Stream::renderEntry(Object(humhub\modules\cfiles\models\Folder))
#2 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/View.php(330): require('/var/www/PATH_T...')
#3 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/var/www/PATH_T...', Array)
#4 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/View.php(152): yii\base\View->renderFile('/var/www/PATH_T...', Array, Object(humhub\modules\search\controllers\SearchController))
#5 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/Controller.php(381): yii\base\View->render('index', Array, Object(humhub\modules\search\controllers\SearchController))
#6 /var/www/PATH_TO_HUMHUB/protected/humhub/modules/search/controllers/SearchController.php(89): yii\base\Controller->render('index', Array)
#7 [internal function]: humhub\modules\search\controllers\SearchController->actionIndex()
#8 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#9 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#10 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('index', Array)
#11 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('search/search/i...', Array)
#12 /var/www/PATH_TO_HUMHUB/protected/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(humhub\components\Request))
#13 /var/www/PATH_TO_HUMHUB/index.php(25): yii\base\Application->run()
#14 {main}                

Full HTML Stacktrace at https://gist.github.com/boppy/d2fc57a8d8de4fdffa91b8b3d087c36c

from cfiles.

buddh4 avatar buddh4 commented on September 14, 2024

Probably fixed by humhub/humhub@167692a#diff-b171a978d368c757862c46d8bed8a2db

from cfiles.

boppy avatar boppy commented on September 14, 2024

Not eventually.

The error message is not displayed any longer, but "the result" is not listed (the only result should be a folder with a matching comment):

image

from cfiles.

buddh4 avatar buddh4 commented on September 14, 2024

This should be fixed by: 9c91047 which adds a wallentry view for folders.

from cfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.