You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three Smarty templates passed DataTablesLengthMenu (lowercase l) as an include
parameter to DataTables.inc.tpl, which reads $DataTablesLengthMenu (uppercase L).
Smarty variable names are case-sensitive, so the variable was undefined/null on every
render, causing PHP 8.1+ E_WARNING:
Undefined array key "DataTablesLengthMenu"
Attempt to read property "value" on null
Root Cause
Copy-paste typo — lengthMenu vs LengthMenu. The same bug was already fixed in
tcAssign2Tplan.tpl by issue #541, but not propagated to the three remaining files.
Fix
One-character capitalization (l → L) in each file: