Meteor-Community-Packages / meteor-collection-hooks

Meteor Collection Hooks
https://atmospherejs.com/matb33/collection-hooks
MIT License
657 stars 92 forks source link

Exception in delivering result of invoking #29

Closed wI2L closed 10 years ago

wI2L commented 10 years ago

Hey.

I am getting this exception while using an after.insert hook, but the callback is well executed tho. Is this a bug inside the package, or am i using it badly ?


Exception in delivering result of invoking '/vservers/insert': TypeError: Object # has no method 'apply'
    at http://localhost:3004/packages/collection-hooks.js?8023554a1294990dd1d66365a38eff93f309ce75:228:22
            
        
    
            
matb33 commented 10 years ago

This can be a deceiving error message, as the stack trace isn't very accurate. Usually something in your hook is causing issues

matb33 commented 10 years ago

@wI2L Have you made any progress here? Did you determine if this was on your end or not?

matb33 commented 10 years ago

Closing as I am pretty sure this is an issue in user code

tiredoftry commented 10 years ago

I had this same error. Removing the zones package resolved the issue. Could be the client side debug package is interfering.

the1mills commented 9 years ago

I am having a problem with this - same cryptic error message...