InternalError too much recursion
Full Stack trace: https://sentry.io/share/issue/96786166aa7347e2af2c5ed1a733602a/
Can't really comment much since this is minified, but in my application (heavy traffic), I've only encountered this bug a couple times. Thanks
I had the same issue and found the cause being the mixpanel script being loaded twice.
We have mixpanel.js and initialization code in a partial called from our main layout. I found that someone called the mixpanel partial from another place in our templates as well that caused the script and initialization code to run twice. This caused the recursion error.
Thanks for that @chasay! I wonder if we can make the error a little more clear, I've seen other libraries do something like "You've loaded X twice, please make sure you're only including the snippet once". That would be helpful 🙂
👍 using segment + mixpanel (device mode) and getting this error
👍 using segment + mixpanel (device mode) and getting this error
for me, this was a segment issue NOT mixpanel's. it turns out this was due to the analytics.load used directly after installing the analytics.js from a script tag as proposed in the docs here. removing the load call fixed it.
