• Resolved jacksondrewett

    (@jacksondrewett)


    Hi, I’ve got the plugin pulling through my reviews, but I cannot create a template because if i click the “add new reviews template” button, nothing happens.

    So far I’ve tried deactivating then reactivating the plugin, and accessing my site through a different browser.

    If it helps, the “?” button next to it doesn’t do anything either. I can just keep clicking either to no avail.

    Any help appreciated. I’m on WP 5.2.1 and version 5.5 of the slider. Using Enfold with Avia layout builder if that makes any difference.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jgwhite33

    (@jgwhite33)

    If the ? button isn’t working either, it’s probably a javascript error on the page. Right-click somewhere on the page > inspect. Look for the console window.

    Thread Starter jacksondrewett

    (@jacksondrewett)

    Thanks for the quick response @jgwhite33 , I appreciate it.

    I opened the console and navigated to the new template tab. In the following seconds it did populate with errors which I’ll paste below, but when i actually clicked the buttons that aren’t working, no new errors were added.

    Errors from console:
    load-scripts.php?c=0&load[]=utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-pick&load[]=er&ver=7d9c7e398eea42a970e97ab98c6b1904:12 Uncaught ReferenceError: jQuery is not defined
    at load-scripts.php?c=0&load[]=utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-pick&load[]=er&ver=7d9c7e398eea42a970e97ab98c6b1904:12
    at load-scripts.php?c=0&load[]=utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-pick&load[]=er&ver=7d9c7e398eea42a970e97ab98c6b1904:12
    (anonymous) @ load-scripts.php?c=0&load[]=utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-pick&load[]=er&ver=7d9c7e398eea42a970e97ab98c6b1904:12
    (anonymous) @ load-scripts.php?c=0&load[]=utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-pick&load[]=er&ver=7d9c7e398eea42a970e97ab98c6b1904:12
    wprevpro-wp-color-picker-alpha.js?ver=2.1.2:32 Uncaught ReferenceError: Color is not defined
    at wprevpro-wp-color-picker-alpha.js?ver=2.1.2:32
    at wprevpro-wp-color-picker-alpha.js?ver=2.1.2:485
    (anonymous) @ wprevpro-wp-color-picker-alpha.js?ver=2.1.2:32
    (anonymous) @ wprevpro-wp-color-picker-alpha.js?ver=2.1.2:485
    load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,svg-painter&ver=7d9c7e398eea42a970e97ab98c6b1904:15 Uncaught TypeError: a.widget is not a function
    at load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,svg-painter&ver=7d9c7e398eea42a970e97ab98c6b1904:15
    at load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,svg-painter&ver=7d9c7e398eea42a970e97ab98c6b1904:15
    (anonymous) @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,svg-painter&ver=7d9c7e398eea42a970e97ab98c6b1904:15
    (anonymous) @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,svg-painter&ver=7d9c7e398eea42a970e97ab98c6b1904:15
    templates_posts_page.js?ver=1559173111:54 Uncaught TypeError: $(…).wpColorPicker is not a function
    at HTMLDocument.<anonymous> (templates_posts_page.js?ver=1559173111:54)
    at l (jquery.min.js?ver=1.8.3:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?ver=1.8.3:2)
    at Function.ready (jquery.min.js?ver=1.8.3:2)
    at HTMLDocument.A (jquery.min.js?ver=1.8.3:2)
    (anonymous) @ templates_posts_page.js?ver=1559173111:54
    l @ jquery.min.js?ver=1.8.3:2
    fireWith @ jquery.min.js?ver=1.8.3:2
    ready @ jquery.min.js?ver=1.8.3:2
    A @ jquery.min.js?ver=1.8.3:2
    util.js:224 Google Maps JavaScript API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
    fx.m @ util.js:224
    (anonymous) @ js?v=3.30&key=AIzaSyBhVw1Is2mqbtqOs7zBbA9mUhofsRsnj7k:118
    Promise.then (async)
    (anonymous) @ js?v=3.30&key=AIzaSyBhVw1Is2mqbtqOs7zBbA9mUhofsRsnj7k:118
    setTimeout (async)
    Oh @ js?v=3.30&key=AIzaSyBhVw1Is2mqbtqOs7zBbA9mUhofsRsnj7k:118
    google.maps.Load @ js?v=3.30&key=AIzaSyBhVw1Is2mqbtqOs7zBbA9mUhofsRsnj7k:18
    (anonymous) @ js?v=3.30&key=AIzaSyBhVw1Is2mqbtqOs7zBbA9mUhofsRsnj7k:208
    (anonymous) @ js?v=3.30&key=AIzaSyBhVw1Is2mqbtqOs7zBbA9mUhofsRsnj7k:208
    wp-auth-check.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1)
    at HTMLDocument.dispatch (jquery.min.js?ver=1.8.3:2)
    at HTMLDocument.u (jquery.min.js?ver=1.8.3:2)
    at Object.trigger (jquery.min.js?ver=1.8.3:2)
    at HTMLDocument.<anonymous> (jquery.min.js?ver=1.8.3:2)
    at Function.each (jquery.min.js?ver=1.8.3:2)
    at init.each (jquery.min.js?ver=1.8.3:2)
    at init.trigger (jquery.min.js?ver=1.8.3:2)
    at Object.<anonymous> (heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1)
    at l (jquery.min.js?ver=1.8.3:2)
    (anonymous) @ wp-auth-check.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    dispatch @ jquery.min.js?ver=1.8.3:2
    u @ jquery.min.js?ver=1.8.3:2
    trigger @ jquery.min.js?ver=1.8.3:2
    (anonymous) @ jquery.min.js?ver=1.8.3:2
    each @ jquery.min.js?ver=1.8.3:2
    each @ jquery.min.js?ver=1.8.3:2
    trigger @ jquery.min.js?ver=1.8.3:2
    (anonymous) @ heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    l @ jquery.min.js?ver=1.8.3:2
    fireWith @ jquery.min.js?ver=1.8.3:2
    T @ jquery.min.js?ver=1.8.3:2
    r @ jquery.min.js?ver=1.8.3:2
    XMLHttpRequest.send (async)
    send @ jquery.min.js?ver=1.8.3:2
    ajax @ jquery.min.js?ver=1.8.3:2
    j @ heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    k @ heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    m @ heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    n @ heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    (anonymous) @ heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1
    dispatch @ jquery.min.js?ver=1.8.3:2
    u @ jquery.min.js?ver=1.8.3:2
    wp-auth-check.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1)
    at HTMLDocument.dispatch (jquery.min.js?ver=1.8.3:2)
    at HTMLDocument.u (jquery.min.js?ver=1.8.3:2)
    at Object.trigger (jquery.min.js?ver=1.8.3:2)
    at HTMLDocument.<anonymous> (jquery.min.js?ver=1.8.3:2)
    at Function.each (jquery.min.js?ver=1.8.3:2)
    at init.each (jquery.min.js?ver=1.8.3:2)
    at init.trigger (jquery.min.js?ver=1.8.3:2)
    at Object.<anonymous> (heartbeat.min.js?ver=7d9c7e398eea42a970e97ab98c6b1904:1)
    at l (jquery.min.js?ver=1.8.3:2)

    I’ve been having the same problem and have taken some similar steps. However, regardless of other plugins I only see two errors in the console:

    Uncaught SyntaxError: Invalid or unexpected token
    bootstrap.min.css:5
    Uncaught SyntaxError: Unexpected token {

    That’s it. Nothing new added when clicking either the ? or the Add New Reviews Template buttons.

    So, to confirm, for me, I disabled every other plugin except WP Google Review Slider, made sure all caching is disabled, and I still got the above issue and console errors.

    What I noted was that the first SyntaxError appeared to be related to the WP Google Review Slider template file. I found completely deleting and re-installing the plugin resolved the issue. I’m guessing that there was a problem with that file for some reason when the plugin was first installed on this particular site.

    Hope that helps in some way!

    Plugin Author jgwhite33

    (@jgwhite33)

    It could be another plugin or the theme causing the javascript error. Once there is an error on the page no other javascript will run. Sometimes you can figure it out by looking at the filename that the error is coming from.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Add new reviews template” button doesn’t work’ is closed to new replies.