PostHog / posthog-js

Send usage data from your web app or site to PostHog, with autocapture.
https://posthog.com/docs/libraries/js
Other
280 stars 118 forks source link

GetNextSurveyStep is not a function TypeError after launching recurring survey. #1258

Closed wouter-leistra closed 3 months ago

wouter-leistra commented 3 months ago

I created a recurring survey for every 30 days, after launch our Sentry started reporting:

TypeError onNextButtonClick(src/extensions/surveys)

New

Level: Error

Unhandled

c.getNextSurveyStep is not a function

We have version 1.139.2 running in our Web application.

kiranP007 commented 3 months ago

We are also getting similar issue, we have 1.128.1 posthog-js version.

neilkakkar commented 3 months ago

Hey @wouter-leistra sorry about this :/ - we'll push a fix shortly, meanwhile you can fix this by upgrading to 1.139.3 or higher

neilkakkar commented 3 months ago

should be fixed with https://github.com/PostHog/posthog-js/pull/1260 - let me know if you're still facing issues, irrespective of version