Erroneously is the correct spelling. It comes from erroneous, meaning “incorrect” or “based on an error,” plus the adverb-forming suffix -ly. A useful memory pattern is: error → erroneous → erroneously.