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

"Another exception was thrown: NoSuchMethodError: Class '_JsonQuerySnapshot' has no instance getter 'doc'." #5

Open
revan29 opened this issue May 26, 2021 · 6 comments

Comments

@revan29
Copy link

revan29 commented May 26, 2021

No description provided.

@revan29 revan29 changed the title Hello! I am encountering this issue "Another exception was thrown: NoSuchMethodError: Class '_JsonQuerySnapshot' has no instance getter 'doc'." on the home page, notification tab, chat, and profile. "Another exception was thrown: NoSuchMethodError: Class '_JsonQuerySnapshot' has no instance getter 'doc'." May 26, 2021
@revan29
Copy link
Author

revan29 commented May 26, 2021

Hello! I am encountering this issue "Another exception was thrown: NoSuchMethodError: Class '_JsonQuerySnapshot' has no instance getter 'doc'." on the home page, notification tab, chat, and profile.

Signing up and logging in is good. I can also see the uploaded files in the firestore and storage.

@revan29
Copy link
Author

revan29 commented May 26, 2021

Capture

@CharlyKeleb
Copy link
Owner

CharlyKeleb commented Jun 4, 2021 via email

@revan29
Copy link
Author

revan29 commented Jun 5, 2021

Hi Charles! I seem to have accidentally fixed the bug, under lib>components>stream_builder_wrapper.dart, stream_comments_wrapper.dart, and stream_grid_wrapper.dart

I changed the "final Stream dynamic stream;" to "final Stream QuerySnapshot stream;" (line 11 in all 3 files)

Hope this helps! Thanks so much!

@CharlyKeleb
Copy link
Owner

CharlyKeleb commented Jun 5, 2021 via email

@revan29
Copy link
Author

revan29 commented Jun 5, 2021

Thanks man! Hope all is good and safe!

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

2 participants