how to fix super mario galaxy 2 ActionReplay error
A bit more details would be nice such as what error you are receiving and what code is causing the error.
Are you trying to enter Gecko/Ocarina codes as Action Replay Codes?
You need to enter the cheats under the Gecko tab.