The named reference $1 was invoked but never defined (see the help page).