• Resolved vladimirt

    (@vladimirt)


    The rating was working fine, but after adding some plugins and custom types, suddenly the voting is not working. I can see the votes on listing but not on single ones.
    Looking the error in Chrome inspector, I read “spr_ajax_object is not defined”.
    Can you help me ?
    Regards

    https://wordpress.org/plugins/simple-rating/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Igor Yavych

    (@flyerua)

    It was working then you broke it. Fix it by doing things you did in reversed order – find out which plugin is causing conflict by disabling ones you you installed after.

    I’m actually incurring the same error. Appears to be with the way you use wp_localize_script(). Will post here if I find a solution.

    Occurs when calling spr_rating() directly

    Plugin Author Igor Yavych

    (@flyerua)

    That’s because you’re not supposed to run spr_rating directly.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error "spr_ajax_object is not defined"’ is closed to new replies.