It is very difficult to answer your question without some source code posted. However, I can make some guesses at where you could look, based on the error text. Since the error is stated as being in an ACTION and a callback, this suggests that you are using a callback somewhere in your component's controller. This is commonly used to communicate with the Apex Controller class. So I would start by looking there.
Cannot read property '' of undefined is your next clue. The "undefined" is probably a JavaScript variable that is not being properly set in your callback. This could be because of scoping issues, or it could be a problem with a custom namespace if you have a different namespace on the environment from the one you developed on.