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: Cannot read property 'length' of undefined #2
Comments
@mtmfahath your place does not have reviews, yet. Is that correct? |
<script> jQuery(document).ready(function($) { if ($("#google-reviews").length == 0) { return } //Find a placeID via https://developers.google.com/places/place-id $("#google-reviews").googlePlaces({ placeId: 'ChIJHduuXU1VwokRBtBklimBjmQ', }); }); </script> |
@mtmfahath as I guessed, no Reviews. try this placeId: Code is fixed, simply download the new JS file 👍 |
thank you so much it's working
…On Tue, Jun 12, 2018 at 1:29 PM, Simon Neutert ***@***.***> wrote:
@mtmfahath <https://github.com/mtmfahath> as I guessed, no Reviews.
try this placeId: ChIJG2d5rI6xEmsRuLYl3xw9MqI
Code is fixed, closing the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWiqIWyqHbSgEwZrAg5w2RfmZbGaQLcsks5t73TbgaJpZM4UjaXT>
.
|
Happy to hear, you made the code better by reporting and collaborating. Have a good day 🦄 |
thank you and same to you!
Do you have any code to read the review of yelp.com ?
…On Tue, Jun 12, 2018 at 7:41 PM, Simon Neutert ***@***.***> wrote:
Happy to hear, you made the code better by reporting and collaborating.
Have a good day 🦄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWiqIUw2iFzpmP4XjJL9LnZxqHT072Nmks5t78wFgaJpZM4UjaXT>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uncaught TypeError: Cannot read property 'length' of undefined
at filterReviewsByMinRating (jquery-google-reviews.js:76)
at callback (jquery-google-reviews.js:115)
at places_impl.js:17
at places_impl.js:15
at util.js:208
at common.js:54
at Zl.f (common.js:15)
at Ml.j (common.js:54)
at Object.c [as _rgg3c0] (common.js:48)
at PlaceService.GetPlaceDetails?2sen-US&8sChIJHduuXU1VwokRBtBklimBjmQ&10e3&17m1&2e1&key=AIzaSyCJP67JWpe96_DILfz-_QpN3Gf_DltGqlI&callback=xdc._rgg3c0&token=99670:1
The text was updated successfully, but these errors were encountered: