The following has evaluated to null or missing: ==> searchPageUrl?split('?searchTerm=')[1] [in template "https:__d3ldzx7fxfvsfy.cloudfront.net_myfoodandfamily_kraftbrands_velveeta_v202304181445p_plugins_SearchGridWidget_SearchGridWidget.ftl" at line 273, column 56] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing#if>. (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: #assign searchTerm = searchPageUrl?sp... [in template "https:__d3ldzx7fxfvsfy.cloudfront.net_myfoodandfamily_kraftbrands_velveeta_v202304181445p_plugins_SearchGridWidget_SearchGridWidget.ftl" at line 273, column 33] ----