I'm implementing Amplitude for the first time and I'm having a problem with the second event fired. Every time the following error appears: TypeError: Cannot convert undefined or null to object. The parameter sent is an object.
Does anyone have an idea what the problem is?