firefly-iii/firefly-iii · error · FireflyException

Could not render view.

Error message

Could not render view.

What it means

Error "Could not render view." thrown in firefly-iii/firefly-iii.

Source

Thrown at app/Http/Controllers/SearchController.php:137

        $searcher->parseQuery($fullQuery);

        $searcher->setPage($page);
        $groups     = $searcher->searchTransactions();
        $hasPages   = $groups->hasPages();
        $searchTime = round($searcher->searchTime(), 3); // in seconds
        $parameters = ['search' => $fullQuery];
        $url        = route('search.index').'?'.http_build_query($parameters);
        $groups->setPath($url);

        try {
            $html = view('search.search', ['groups' => $groups, 'hasPages' => $hasPages, 'searchTime' => $searchTime])->render();
        } catch (Throwable $e) {
            Log::error(sprintf('Cannot render search.search: %s', $e->getMessage()));
            Log::error($e->getTraceAsString());
            $html = 'Could not render view.';

            throw new FireflyException($html, 0, $e);
        }

        return response()->json(['count' => $groups->count(), 'html' => $html]);
    }
}

View on GitHub (pinned to fd8791d08d)

When it happens

Trigger: Thrown at app/Http/Controllers/SearchController.php:137 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of firefly-iii/firefly-iii@fd8791d08d (2026-08-17). Data as JSON: /api/errors/05392514695ffa34. Report an issue: GitHub.