Skip to main content

Uncaught TypeError: Cannot read properties of undefined (reading ‘getCurrentMember’)

Duncan from Memberstack

This error can show up when adding Memberstack scripts to your site. Here are a few mistakes which can cause the error to appear:  

  • Problem → Your custom code was added before the Memberstack script.
    • Fix → move the custom code to the very bottom of the page & move your Memberstack header script to the very top of the page. 
  • Problem → You've used the wrong variable before your function.
    • If you're in Webflow be sure to use$memberstackDom.getCurrentMember()
  •  

Was this article helpful?

Didn’t find your answer?

Get an instant answer from Rey, or reach a human. Either way, we’re happy to help.

Comments

2 comments

Please sign in to leave a comment.

Sitemap