Ewch i’r prif gynnwys

Pori fesul pwnc

Blwyddyn mynediad

The following has evaluated to null or missing: ==> f.categories [0] [in template "conf/ug-courses/_default/subject-json-cy.ftl" at line 19, column 24] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #list f.categories[0].values as facet [in template "conf/ug-courses/_default/subject-json-cy.ftl" at line 19, column 17] ~ Reached through: #nested [in template "web/templates/modernui/funnelback_classic.ftl" in macro "AfterSearchOnly" at line 94, column 9] ~ Reached through: @s.AfterSearchOnly [in template "conf/ug-courses/_default/subject-json-cy.ftl" at line 8, column 1] ----