URL to a new form

Resolve an undefined array key error in a CF button field after an update.

Overview

The error occurs because the button field's output code references an undefined 'id' array key.
Apply a temporary workaround by modifying the output code to remove the reference to the undefined 'id' key until the official fix is released.

Answered
ChronoForms v8
Fl Flamingo 10 Jan, 2026

After updating to Chronoforms 8.0.51, I'm getting the following error in a field with a button to open a new form:

Warning: Undefined array key "id" in ..... administrator\components\com_chronoforms8\pages\chronoforms\views\field_button\output.php on line 54

This seems to be related to the URL: {path:root}/index.php/benutzer-eingaben/

What is the correct setting? Thanks for your help.

Fl Flamingo 14 Jan, 2026
1 Likes

There's obviously a bug, which I've temporarily fixed with this workaround. 

File: Output PHP

echo '<a class="nui button '.$field["class"].$field["code"].'"'.' href="'.Chrono::r(Chrono::addUrlParam($url, $params)).'">'.$icon.$field["label"].'</a>';
// echo '<a class="nui button '.$field["class"].'" id="'.$field["id"].'" '.$field["code"].' href="'.Chrono::r(Chrono::addUrlParam($url, $params)).'">'.$icon.$field["label"].'</a>';

Max_admin Max_admin 15 Jan, 2026
Answer

Hi Flamingo

Correct, I have fixed this in the next update, thanks for posting the solution you have found.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply