Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mixpanel-2-latest.min.js:9 Mixpanel error: "mixpanel" object not initialized

mixpanel-2-latest.min.js:9 Mixpanel error: "mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.

From the last couple of days, I am seeing this error in the console when I do inspect element in my Google Chrome. I am using the latest Chrome version 64. I am not using mixpanel. It's also showing up if I open any public website. Any idea how to resolve this error?

Screenshot of Chrome with error in developer console

like image 268
Rahul Goenka Avatar asked Jan 31 '18 11:01

Rahul Goenka


3 Answers

Check your extensions, for me it was 'Page Ruler' (https://chrome.google.com/webstore/detail/page-ruler/jlpkojjdgbllmedoapgfodplfhcbnbpn?hl=nl) that caused this error. Systematically disable all extensions until the error does not occur anymore.

like image 131
spassvogel Avatar answered Nov 11 '22 22:11

spassvogel


I started getting this error out of the blue. It was the chrome extension PageRuler. I trashed PageRuler and the error went away.

like image 11
Luke Dohner Avatar answered Nov 11 '22 23:11

Luke Dohner


Alternatively, you can go to Page Ruler's options menu, and uncheck "Send Anonymous Usage Statistics". This will enable you to continue using the extensions without seeing the error message.

like image 8
Tiborg Avatar answered Nov 11 '22 22:11

Tiborg