The commands Discard Text Information, Text to Path, and Text along Path only appear in the Layer menu if a text layer is present.
Kohta 7.11, ”Discard Text Information”
Text to Path
Text along Path