Where the Error Occurred
File: GenericList.template.php
Line: 86-110,
Any relevant errors in the SMF error log (if so please post them)?:
1. Start tag for tbody-element print in if-section.
lines: 86-110
if (!($header_count < 2 && empty($cur_list['headers'][0]['label'])))
{
echo '
<thead>
<tr class="catbg">';
...
echo '
</tr>
</thead>
<tbody>';
}
2. But end tag have unconditional print (echo without any conditionals)
lines: 139-142:
echo '
</tbody>
</table>';
Total: if current list have not headers then result layout not valid - missing <tbody>.
Additionally for this function.
Don`t check existing of current list:
lines:17-19
// Get a shortcut to the current list.
$list_id = $list_id === null ? $context['default_list'] : $list_id;
$cur_list = &$context[$list_id];
May be add something of this :
if( empty($context['default_list']) )
retrun;
if( empty($context[$list_id]) )
retrun;