• Resolved Dlo015

    (@bubbles015)


    I feel like this is an easy fix, and I am sorry if I’m just being a dummy! But I just downloaded this plugin and when I go to “New Review” in Gutenberg and then put in the ISBN, hit “fetch,” nothing happens. The “fetch” just has an endless spinning circle, as if it’s trying, but nothing is happening.

    What am I doing wrong here?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hello,

    If the plugin is having trouble fetching data, it usually means there was an JavaScript error. Can you check your browser’s JavaScript console and give me the error message that is there? Also, which ISBN are you trying to work with?

    Thread Starter Dlo015

    (@bubbles015)

    How do I check my browser’s JavaScript console? Where do I go to see this?

    I’ve tried 2 ISBNs: 0061134147 for a book called Challenger Deep, and 1250144841 for a book called Sometimes I Lie

    Plugin Author Kemory Grubb

    (@w33zy)

    Press F12 on your keyboard, then look for “Console” in the window that opens.

    I just checked those 2 ISBNs on my test site and I was able to get the data.

    Thread Starter Dlo015

    (@bubbles015)

    It says:

    Uncaught Error: Invalid XML: <!DOCTYPE html>
    <html class=”desktop
    “>
    <head prefix=”og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# good_reads: https://ogp.me/ns/fb/good_reads#”&gt;
    <title>Challenger Deep by Neal Shusterman</title>

    Plugin Author Kemory Grubb

    (@w33zy)

    That is just a part of the error message, there should be more information such as where in the response has the error. Can you provide the rest of the error message for me?

    Thread Starter Dlo015

    (@bubbles015)

    Here is all of the red! (I’m guessing this is all of it?)

    
    Uncaught Error: Invalid XML: <!DOCTYPE html>
    <html class="desktop
    ">
    <head prefix="og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# good_reads: https://ogp.me/ns/fb/good_reads#">
      <title>Challenger Deep by Neal Shusterman</title>
    
        <script type="text/javascript"> var ue_t0=window.ue_t0||+new Date();
     </script>
      <script type="text/javascript">
        (function(e){var c=e;var a=c.ue||{};a.main_scope="mainscopecsm";a.q=[];a.t0=c.ue_t0||+new Date();a.d=g;function g(h){return +new Date()-(h?0:a.t0)}function d(h){return function(){a.q.push({n:h,a:arguments,t:a.d()})}}function b(m,l,h,j,i){var k={m:m,f:l,l:h,c:""+j,err:i,fromOnError:1,args:arguments};c.ueLogError(k);return false}b.skipTrace=1;e.onerror=b;function f(){c.uex("ld")}if(e.addEventListener){e.addEventListener("load",f,false)}else{if(e.attachEvent){e.attachEvent("onload",f)}}a.tag=d("tag");a.log=d("log");a.reset=d("rst");c.ue_csm=c;c.ue=a;c.ueLogError=d("err");c.ues=d("ues");c.uet=d("uet");c.uex=d("uex");c.uet("ue")})(window);(function(e,d){var a=e.ue||{};function c(g){if(!g){return}var f=d.head||d.getElementsByTagName("head")[0]||d.documentElement,h=d.createElement("script");h.async="async";h.src=g;f.insertBefore(h,f.firstChild)}function b(){var k=e.ue_cdn||"z-ecx.images-amazon.com",g=e.ue_cdns||"images-na.ssl-images-amazon.com",j="/images/G/01/csminstrumentation/",h=e.ue_file||"ue-full-11e51f253e8ad9d145f4ed644b40f692._V1_.js",f,i;if(h.indexOf("NSTRUMENTATION_FIL")>=0){return}if("ue_https" in e){f=e.ue_https}else{f=e.location&&e.location.protocol=="https:"?1:0}i=f?"https://":"https://";i+=f?g:k;i+=j;i+=h;c(i)}if(!e.ue_inline){if(a.loadUEFull){a.loadUEFull()}else{b()}}a.uels=c;e.ue=a})(window,document);
    
        if (window.ue && window.ue.tag) { window.ue.tag('book:show:signed_out', ue.main_scope);window.ue.tag('book:show:signed_out:desktop', ue.main_scope); }
      </script>
    
              <script type="text/javascript">
            if (window.Mobvious === undefined) {
              window.Mobvious = {};
            }
            window.Mobvious.device_type = 'desktop';
            </script>
    
      
    <script src="https://s.gr-assets.com/assets/webfontloader-ea2919013845458b4794b5323cfe383c.js"></script>
    <script>
    //<![CDATA[
    
      WebFont.load({
        classes: false,
        custom: {
          families: ["Lato:n4,n7,i4", "Merriweather:n4,n7,i4"],
          urls: ["https://s.gr-assets.com/assets/gr/fonts-e256f84093cc13b27f5b82343398031a.css"]
        }
      });
    
    //]]>
    </script>
    
      <link rel="stylesheet" media="all" href="https://s.gr-assets.com/assets/goodreads-f1a947ebd655fef50c4ca94a95cc5c67.css" />
    <!--[if lte IE 9]>
    <link rel="stylesheet" media="all" href="https://s.gr-assets.com/assets/goodreads_split2-812d2800baa6b52ec991128e3958c347.css" />
    <![endif]-->
      
    
      <!--[if lt IE 9]>
        <link rel="stylesheet" media="screen" href="https://s.gr-assets.com/assets/ie-243e73b5c2539766a7d02b37fdf277f8.css" />
      <![endif]-->
    
      <!--[if lt IE 8]>
        <link rel="stylesheet" media="screen" href="https://s.gr-assets.com/assets/common_images_ie-5b0cc205c33756d8e7e84ce5b8be28e3.css" />
      <![endif]-->
    
      <!--[if gte IE 8]><!-->
      <link rel="stylesheet" media="screen" href="https://s.gr-assets.com/assets/common_images-67dd60a681af04727cf7d18f5c5ba498.css" />
      <!--<![endif]-->
    
      <script src="https://s.gr-assets.com/assets/desktop/libraries-1c2883cf9caed935dcb88219fd720a9c.js"></script>
      <script src="https://s.gr-assets.com/assets/application-99258ee9ea053650c9e39daf9b7607f5.js"></script>
    
        <script>
      //<![CDATA[
        var gptAdSlots = gptAdSlots || [];
        var googletag = googletag || {};
        googletag.cmd = googletag.cmd || [];
        (function() {
          var gads = document.createElement("script");
          gads.async = true;
          gads.type = "text/javascript";
          var useSSL = "https:" == document.location.protocol;
          gads.src = (useSSL ? "https:" : "http:") +
          "//www.googletagservices.com/tag/js/gpt.js";
          var node = document.getElementsByTagName("script")[0];
          node.parentNode.insertBefore(gads, node);
        })();
        // page settings
      //]]>
    </script>
    <script>
      //<![CDATA[
        googletag.cmd.push(function() {
          googletag.pubads().setTargeting("sid", "osid.4f7b9867fbf006765c1b31427c744c2c");
        googletag.pubads().setTargeting("grsession", "osid.4f7b9867fbf006765c1b31427c744c2c");
        googletag.pubads().setTargeting("surface", "desktop");
        googletag.pubads().setTargeting("signedin", "false");
        googletag.pubads().setTargeting("gr_author", "false");
        googletag.pubads().setTargeting("author", [19564]);
        googletag.pubads().setTargeting("shelf", ["youngadult","contemporary","mentalillness","fiction","mentalhealth","realisticfiction"]);
        googletag.pubads().setTargeting("gtargeting", "72izj2tl");
        googletag.pubads().setTargeting("resource", "Work_25379189");
          googletag.pubads().enableAsyncRendering();
          googletag.pubads().enableSingleRequest();
          googletag.pubads().collapseEmptyDivs(true);
          googletag.pubads().disableInitialLoad();
          googletag.enableServices();
        });
      //]]>
    </xml2json.js:34)
        at Function.xml2json (xml2json.js:104)
        at Object.success (rcno-goodreads-api.js:66)
        at i (load-scripts.php:2)
        at Object.fireWith [as resolveWith] (load-scripts.php:2)
        at y (load-scripts.php:4)
        at XMLHttpRequest.c (load-scripts.php:4)
    Thread Starter Dlo015

    (@bubbles015)

    Any advice?

    Plugin Author Kemory Grubb

    (@w33zy)

    Honestly, I’ve never seen anything like that before as it is mentioning Google Ads related scripts in the request. The feature should have nothing to do with that.

    To resolve this I would have to debug it on the live site – for that I would need to log in to the site.

    Thread Starter Dlo015

    (@bubbles015)

    Ok. I can do that. Can we make arrangements for this? I really want to use this plugin!

    Can you email me at *** so we can arrange for this?

    • This reply was modified 5 years, 9 months ago by Dlo015.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fetch via ISBN not working in Gutenberg’ is closed to new replies.