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

An error occurred while searching for Analytics #70

Closed
frankbootmaker opened this issue Nov 5, 2020 · 2 comments
Closed

An error occurred while searching for Analytics #70

frankbootmaker opened this issue Nov 5, 2020 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@frankbootmaker
Copy link

Using the unified search in NC 20.0.1 I receive the message next to the search icon: "An error occurred while searching for Analytics"

kép

The log in NC 20.0.1 shows:

Error no app in context Exception: Argument 2 passed to OCP\Search\SearchResult::complete() must be of the type array, null given, called in /var/www/html/custom_apps/analytics/lib/Search/Provider.php on line 65/var/www/html/lib/private/AppFramework/App.php - line 152: OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "search")/var/www/html/lib/private/Route/Router.php - line 308: OC\AppFramework\App::main("OC\Core\C ... r", "search", OC\AppFramew ... {}, { action: nu ... "})/var/www/html/ocs/v1.php - line 88: OC\Route\Router->match("/ocsapp/sea ... h")/var/www/html/ocs/v2.php - line 24: require_once("/var/www/html/ocs/v1.php")
Error PHP Error: Undefined variable: result at /var/www/html/custom_apps/analytics/lib/Search/Provider.php#65/var/www/html/custom_apps/analytics/lib/Search/Provider.php - line 65: OC\Log\ErrorHandler::onError(8, "Undefined variable: result", "/var/www/ht ... p", 65, { user: OC\U ... ]})/var/www/html/lib/private/Search/SearchComposer.php - line 162: OCA\Analytics\Search\Provider->search(OC\User\User {}, OC\Search\SearchQuery {})/var/www/html/core/Controller/UnifiedSearchController.php - line 110: OC\Search\SearchComposer->search(OC\User\User {}, "analytics", OC\Search\SearchQuery {})/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 169: OC\Core\Controller\UnifiedSearchController->search("analytics", "analyt", null, null, null, "/settings/a ... s")/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 100: OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "search")/var/www/html/lib/private/AppFramework/App.php - line 152: OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "search")/var/www/html/lib/private/Route/Router.php - line 308: OC\AppFramework\App::main("OC\Core\C ... r", "search", OC\AppFramew ... {}, { action: nu ... "})/var/www/html/ocs/v1.php - line 88: OC\Route\Router->match("/ocsapp/sea ... h")/var/www/html/ocs/v2.php - line 24: require_once("/var/www/html/ocs/v1.php")
@Rello Rello self-assigned this Nov 5, 2020
@Rello Rello added the bug Something isn't working label Nov 5, 2020
@Rello Rello added this to the 3.1.0 milestone Nov 5, 2020
@Rello Rello added the pending release part of the next release version label Nov 5, 2020
@Rello
Copy link
Owner

Rello commented Nov 5, 2020

Hello,

thank you for the report.
actually it was fixed already, but I did not roll out the fix due to some dependencies.
I will prioritize.

04bd867

@frankbootmaker
Copy link
Author

frankbootmaker commented Nov 5, 2020 via email

@Rello Rello removed the pending release part of the next release version label Dec 2, 2020
@Rello Rello closed this as completed Dec 2, 2020
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

2 participants