-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"TypeError: this.people.delete_user is undefined" when calling posthog.opt_out_capturing() #39
Comments
This was solved a while ago. The problem was IIRC with loading posthog via npm. |
@mariusandra any details on how or which commit solved this because I still face the error. Error:
Thx |
Sorry for the late note - fix has landed, will be patched in the upcoming released. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm loading PostHog via the npm module.
Then, in my React app's logic, when I run the following (awhile after init has already completed):
I get the error:
TypeError: this.people.delete_user is not a function. (In 'this.people.delete_user()', 'this.people.delete_user' is undefined)
I also tried switching the order of those two lines, which results in no errors thrown. However, in both cases autocapture events are still sent through.
I might be following an incorrect usage pattern. Am I missing something?
The text was updated successfully, but these errors were encountered: