Title: Slideshow forever loading &#8211; JSON issue.
Last modified: August 20, 2016

---

# Slideshow forever loading – JSON issue.

 *  [Arkadia](https://wordpress.org/support/users/arkadia/)
 * (@arkadia)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/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 “[http://www.amgreeneconstruction.com/index.php?callback=json&api_key=true&format=json&method=gallery&id=5&#8221](http://www.amgreeneconstruction.com/index.php?callback=json&api_key=true&format=json&method=gallery&id=5&#8221);
   and I’ve ran it through ‘[http://jsonformatter.curiousconcept.com/&#8217](http://jsonformatter.curiousconcept.com/&#8217);
   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?
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

Viewing 1 replies (of 1 total)

 *  [Nexu](https://wordpress.org/support/users/nexu/)
 * (@nexu)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/slideshow-forever-loading-json-issue/#post-3145562)
 * Bumping this thread.
 * Having the exact same issue without finding any solution to this or what’s causing
   it. Albeit after some inspection i noticed the /index.php?callback=json url can
   be retrieved with full (and apparently valid) json data when using an Unix command
   line tool wget.
    Also upon inspection with FireBug it does appear the Content-
   Type is “application/json; charset=UTF-8” which seems correct. But nothing appears
   in the browser (even if it could tell me the data was 11k in size). The URL in
   question is: [http://www.radiozeeland.com/?callback=jsonp&api_key=true&format=json&method=gallery&id=8](http://www.radiozeeland.com/?callback=jsonp&api_key=true&format=json&method=gallery&id=8)
 * An example of a correct JSON callback reply should been like: [http://photography.christophassauer.de/index.php?callback=json&api_key=true&format=json&method=gallery&id=9](http://photography.christophassauer.de/index.php?callback=json&api_key=true&format=json&method=gallery&id=9)
 * WordPress 3.3.2 + ngg.slideshow.min.js?ver=1.06

Viewing 1 replies (of 1 total)

The topic ‘Slideshow forever loading – JSON issue.’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)
 * [slideshow](https://wordpress.org/support/topic-tag/slideshow/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nexu](https://wordpress.org/support/users/nexu/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/slideshow-forever-loading-json-issue/#post-3145562)
 * Status: not resolved