Neutral Safety Switch.
The memory seats have a link to the NSS. Faulty NSS will give that message. The memory seat should only work in park and neutral. Also, that error can pop out of you have the seatbelt fastened and try to use the memory (not allowed).So it could also be the switch in the seatbelt fastener.Just stating it as a possibility.