GithubHelp home page GithubHelp logo

Comments (5)

rhukster avatar rhukster commented on June 7, 2024

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.

adamgajzlerowicz avatar adamgajzlerowicz commented on June 7, 2024

Thank you for the update.
Now the login seems to be loading, but the javascript function is undefined

screenshot-2

from grav-plugin-star-ratings.

rhukster avatar rhukster commented on June 7, 2024

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.

adamgajzlerowicz avatar adamgajzlerowicz commented on June 7, 2024

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.

rhukster avatar rhukster commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.