firefly-iii/firefly-iii · error · FireflyException

Could not render date.

Error message

Could not render date.

What it means

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

Source

Thrown at app/Support/ExpandedForm.php:137

     * @param mixed $value
     *
     * @throws FireflyException
     */
    public function date(string $name, $value = null, ?array $options = null): string
    {
        $label   = $this->label($name, $options);
        $options = $this->expandOptionArray($name, $label, $options);
        $classes = $this->getHolderClasses($name);
        $value   = $this->fillFieldValue($name, $value);
        unset($options['placeholder']);

        try {
            $html = view('form.date', ['classes' => $classes, 'name' => $name, 'label' => $label, 'value' => $value, 'options' => $options])->render();
        } catch (Throwable $e) {
            Log::debug(sprintf('Could not render date(): %s', $e->getMessage()));
            $html = 'Could not render date.';

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

        return $html;
    }

    /**
     * @throws FireflyException
     */
    public function file(string $name, ?array $options = null): string
    {
        $options ??= [];
        $label   = $this->label($name, $options);
        $options = $this->expandOptionArray($name, $label, $options);
        $classes = $this->getHolderClasses($name);

        try {
            $html = view('form.file', ['classes' => $classes, 'name' => $name, 'label' => $label, 'options' => $options])->render();
        } catch (Throwable $e) {

View on GitHub (pinned to fd8791d08d)

When it happens

Trigger: Thrown at app/Support/ExpandedForm.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/6cb1c8e90220132d. Report an issue: GitHub.