• Resolved emmagreen1220

    (@emmagreen1220)


    Received jquery errors when edit a post, could you please help?

    ReferenceError: yasrPrintMetaBoxOverall is not defined[Learn More] post.php:817:9
    
        <anonymous> https://biologydictionary.net/wp-admin/post.php?post=4689&action=edit:817 i4jQuery
    
    TypeError: e is undefined[Learn More] load-scripts.php:710:1538
    
        <anonymous> Backbone 
    
    dispatch8jQuery
    xhr Backbone i4jQuery
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi, I guess you’re having this error while you’re editing a post, using the classic editor.

    What version of Yasr are you using?
    Can you please try to delete all your caches? (browser, plugin, cdn, etc)

    Best,
    Dario

    Hello Dudo we are having the same problem with your latest version but only from google chrome. The stars keeps loading once the user votes. Cache issue? We have cleared the cache too from the WP Rocket

    jruizcantero

    (@jruizcantero)

    Hi,

    Try to edit the file /lib/admin/yasr-metabox-top-right.php and add “;” like this…

    var overallRating = <?php echo (json_encode($overall_rating)); ?>;

    Best regards.

    Plugin Contributor dudo

    (@dudo)

    Thank you @jruizcantero

    Can I ask if you are using some caching plugin/service?
    Which version of google chrome?

    I’m trying to reproduce this problem but everythings seems ok

    jruizcantero

    (@jruizcantero)

    Yes, I’m using W3 Total Cache (https://es.wordpress.org/plugins/w3-total-cache/)

    Also, https://es.wordpress.org/plugins/classic-editor/

    Chrome v 72.0.3626.121 (Build oficial) (64 bits)

    I solved it adding “;” to the end of line 😉

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

The topic ‘Jquery error’ is closed to new replies.