Hi ascplweb,
I sent and notified to our technical team about this issue, we will check and fix it. In your case, you can try to replace
line 580 to 608 with the following code:
public function renderSection($data)
{
static $counter = 1;
// Check if 'name' key exists and is not empty
if (isset($data['name']) && !empty($data['name'])) {
// Make id using 'name'
$data['id'] = 't4-' . preg_replace('/\s/', '-', strtolower($data['name']));
} else {
// Make id using counter if 'name' is empty or not set
$data['id'] = 'section-' . $counter++;
}
// Render custom css for this section
$style = $this->sectionCustomStyles($data);
if (!empty($style)) {
$this->styles[] = "\n/* Section: {$data['name']} */\n" . $style;
} else {
// Reset id if not set
if (empty($data['name'])) {
$data['id'] = '';
}
}
// Render row content
$content = $this->renderRow($data);
return LayoutHelper::render('t4.layout.section', ['data' => $data, 'content' => $content], T4PATH . '/html/layouts');
}
Hope this helps!