Skip to content
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

Uncaught TypeError: this._unregisterEvents is not a function #117

Closed
ilionic opened this issue Sep 22, 2015 · 10 comments
Closed

Uncaught TypeError: this._unregisterEvents is not a function #117

ilionic opened this issue Sep 22, 2015 · 10 comments

Comments

@ilionic
Copy link

ilionic commented Sep 22, 2015

Getting this error while using InfoBox.
Basically as soon as InfoBox is initialised and map receives new props, this error occurs.

Exception was thrown by user callback. TypeError: this._unregisterEvents is not a function
    at InfoBoxCreator.unregister (eval at <anonymous> (http://localhost:8888/build/app.js:5972:2), <anonymous>:20:12)
    at InfoBoxCreator.value (eval at <anonymous> (http://localhost:8888/build/app.js:5972:2), <anonymous>:48:20)
    at CallbackQueue.assign.notifyAll (eval at <anonymous> (http://localhost:8888/build/app.js:1238:2), <anonymous>:68:22)
    at ReactReconcileTransaction.ON_DOM_READY_QUEUEING.close (eval at <anonymous> (http://localhost:8888/build/app.js:1760:2), <anonymous>:81:26)
    at ReactReconcileTransaction.Mixin.closeAll (eval at <anonymous> (http://localhost:8888/build/app.js:1250:2), <anonymous>:207:25)
    at ReactReconcileTransaction.Mixin.perform (eval at <anonymous> (http://localhost:8888/build/app.js:1250:2), <anonymous>:148:16)
    at ReactUpdatesFlushTransaction.Mixin.perform (eval at <anonymous> (http://localhost:8888/build/app.js:1250:2), <anonymous>:134:20)
    at ReactUpdatesFlushTransaction.assign.perform (eval at <anonymous> (http://localhost:8888/build/app.js:1232:2), <anonymous>:95:38)
    at Object.flushBatchedUpdates (eval at <anonymous> (http://localhost:8888/build/app.js:1232:2), <anonymous>:175:19)
    at Object.ReactPerf.measure.wrapper [as flushBatchedUpdates] (eval at <anonymous> (http://localhost:8888/build/app.js:1196:2), <anonymous>:70:21)
    at ReactDefaultBatchingStrategyTransaction.Mixin.closeAll (eval at <anonymous> (http://localhost:8888/build/app.js:1250:2), <anonymous>:207:25)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (eval at <anonymous> (http://localhost:8888/build/app.js:1250:2), <anonymous>:148:16)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (eval at <anonymous> (http://localhost:8888/build/app.js:1652:2), <anonymous>:66:19)
    at Object.enqueueUpdate (eval at <anonymous> (http://localhost:8888/build/app.js:1232:2), <anonymous>:215:22)
    at enqueueUpdate (eval at <anonymous> (http://localhost:8888/build/app.js:1220:2), <anonymous>:30:18)
    at Object.ReactUpdateQueue.enqueueSetState (eval at <anonymous> (http://localhost:8888/build/app.js:1220:2), <anonymous>:208:5) 
@ilionic ilionic closed this as completed Sep 22, 2015
@brainkim
Copy link

Why was this closed? Also see this sometimes.

@IvoPereira
Copy link

I'm getting the same error message. Any ideas what could be causing it?

@hanigogo
Copy link

Me too. I have the same question. How to solve this problem?

@ilionic
Copy link
Author

ilionic commented Dec 21, 2015

I was getting it quite often while using Webpack with hot module reload when new props were received.
But don't remember exactly in details. Probably better to open new issue.

@tomchentw tomchentw reopened this Dec 24, 2015
@tomchentw
Copy link
Owner

Worth to reopen.

@ilyagelman
Copy link

+1 Had the same issue with Polygon and Polyline.

Disabling HMR and react-hot-loader didn't solve the issue.

@portons
Copy link

portons commented Feb 9, 2016

+1

2 similar comments
@lironess
Copy link

lironess commented Feb 9, 2016

+1

@royair
Copy link

royair commented Feb 10, 2016

+1

@tomchentw
Copy link
Owner

Should be fixed in v4.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants