Had the same problem as morvi: fsg_json is not defined
In my case the cause appeared to be a new blank line in the caption of one image. Including this image into a FSG will cause the described problem and the recorded error is fsg_json is not defined.
FSG version 1.4.3