Slideshow forever loading – JSON issue.
-
Hi there, I have NGG 1.9.3 installed. My slideshows are continously loading.
The console reports -> “Uncaught TypeError: Cannot read property ‘stat’ of null”
Which is refering to this code in ngg.slideshow.js :
jQuery.getJSON(url, function(r){ if (r.stat == "ok"){ ... } });
The issue is that the “r” variable is null instead of the json data.
I’ve checked the “url” variable, which resolves to “https://www.amgreeneconstruction.com/index.php?callback=json&api_key=true&format=json&method=gallery&id=5” and I’ve ran it through ‘https://jsonformatter.curiousconcept.com/’ and I see that the url is returning all the json code needed(all the gallery data).. I just don’t get why it’s not working via ngg.
The jQuery.getJSON function is successful, it’s just returning null data.
Any ideas?
- The topic ‘Slideshow forever loading – JSON issue.’ is closed to new replies.