You keep in mind what you changed recently. Then try to disable certain events and see if the error vanishes. If it does, the event you disabled likely causes the issue.
The error can also sometimes give some hints. E.g. maximum call stack size usually means there was an infinite loop of some kind.