Open rizkysyazuli opened 8 years ago
I have the same issue. I can't see any of the objects in any collection including the users. I can add users but not objects to other collections.
I have the same issue as well. It shows the document count in a collection, but that's it. No actual collection details, and I'm getting the same error as OP.
I have a similar issue as well. Though a slightly different stack trace (copied below). This is from when I attempted to access the Users collection. I'm using Meteor 1.2.0.2
TypeError: Cannot convert undefined or null to object
at hasOwnProperty (native)
at Function._.has (http://localhost:3000/packages/underscore.js?fa590de5090ceb4a42555b48562fd8f8e7035758:1124:27)
at Object.Blaze._lexicalBindingLookup (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:3060:11)
at Blaze.View.lookup (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:3134:36)
at Blaze.View.lookup (http://localhost:3000/packages/iron_dynamic-template.js?ee3a82d9513d6672d735cd269e5a228a8adb9247:777:23)
at Template.adminUsersIsAdmin.Blaze.If.HTML.I.class (http://localhost:3000/packages/yogiben_admin.js?b9ccd2d5fdb467996d0b508819c17a741fdeb92a:1050:40)
at null.<anonymous> (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:2682:44)
at http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:1880:20
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:3679:12)
at http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:1878:29 undefined
It seems that the above error only occurs when I access Users. When I access the other collections, I get the same error as the OP.
So, a quick fix, is to add showDelColumn: true
to every collection configuration.
This is by no means a permanent fix, unless you plan to never delete anything.
That quick fix made no difference for me.
Ok so I added showDelColumn: false to my collection config and now the data is showing! Not sure how or why.
It's because the error has to do with delete buttons. By stopping them from being shown, the error can't occur
Ok. How did you configure your user collection. I tried:
userSchema: { showDelColumn: false, },
but my app starts crashing.
I remove this package and installed Houston - everything worked perfectly right away. I highly recommend it.
I can't remove this package... i did: userSchema: { showDelColumn: false, }, but the error is same...
Please fix this issue...
Same issue here.
PR #289 fix this.
I fixed this in my app, first go to https://github.com/CaptainN/meteor-admin fork it to your git account and clone this to your desktop but save it in the Packages folder of your app (create a packages folder if you don't have one). In the package.js file I had to change the 'name: yogiben:admin' to 'name: physicsteacher:admin' and then run meteor add physicsteacher:admin.
+1
Same for me
+1
+1
It's been a while since i visit the admin section of my app. Suddenly i'm seeing empty tables. Even though I can see the data is being published and the widgets on the dashboard shows the correct count.
Any ideas? Here's the dev console output:![screen shot 2015-10-21 at 4 09 14 pm](https://cloud.githubusercontent.com/assets/152221/10632398/660d9606-780e-11e5-8321-256ece4a1bf4.png)