Exception in rendering!

Message: Cannot read property 'gallery' of null

TypeError: Cannot read property 'gallery' of null
    at t.value (<anonymous>:36:342267)
    at p._renderValidatedComponentWithoutOwnerOrContext (<anonymous>:36:192309)
    at p._renderValidatedComponent (<anonymous>:36:192436)
    at performInitialMount (<anonymous>:36:188277)
    at p.mountComponent (<anonymous>:36:187323)
    at Object.mountComponent (<anonymous>:36:13372)
    at <anonymous>:36:220113
    at r.perform (<anonymous>:36:24520)
    at r (<anonymous>:36:220076)
    at Object.i [as renderToString] (<anonymous>:36:220311)