Comments (5)
I've just pushed a new release that should fix this. Look for v1.0.2 in about 15 mins or so.
from grav-plugin-star-ratings.
Thank you for the update.
Now the login seems to be loading, but the javascript function is undefined
from grav-plugin-star-ratings.
It appears Grav is already loading the latest jquery-2.x version, then the star-ratings.js runs, then your theme is loading another jquery (probably older).
i would suggest removing that jquery explicitly loaded by the theme.
from grav-plugin-star-ratings.
You were right, Removing other installation of jQuery fixed the issue. Unfortunately there is another one:
When plugin tries to submit the data if fails. In the dev console I can see that it tries to open
query-2.x.min.js:4 POST http://localhost/blog/star-ratings.json/nonce:6061864bbd08e22dea2371636413e5c4 500 (Internal Server Error)l.cors.b.crossDomain.send @ jquery-2.x.min.js:4n.extend.ajax @ jquery-2.x.min.js:4n.(anonymous function) @ jquery-2.x.min.js:4jQuery.extend.callback @ star-ratings.js:7e.executeCallback @ jquery.star-rating-svg.min.js:1e.applyRating @ jquery.star-rating-svg.min.js:1n.event.dispatch @ jquery-2.x.min.js:3r.handle @ jquery-2.x.min.js:3 star-ratings.js:12 fail
Then in the response there is a sever 500 error:
{"error":{"type":"RuntimeException","message":"Page Not Found","file":"\/var\/www\/html\/blog\/system\/src\/Grav\/Common\/Grav.php","line":177}}
from grav-plugin-star-ratings.
Maybe create a new issue for this, it's kinda far from the array_key_exists()
error.
from grav-plugin-star-ratings.
Related Issues (15)
- TODOs HOT 2
- Rich Snippet AggregateRating Question
- Option to "Enable/Disable jQuery" and option to load 2 required scripts at bottom
- Twig_Error_Runtime
- weird text unterneath rating
- Dont work 1.6.9
- How to set rating? HOT 2
- Unable to submit data with ajax HOT 15
- Display on blog (article list) page ? HOT 2
- Activating show count hover bug HOT 5
- Stars in Google HOT 5
- Show Aggregate Rating Number HOT 1
- 'element.starRating' is undefined HOT 10
- Stars in Google Enhancement: How to get <title> to "name" in snippet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-plugin-star-ratings.