Exception in rendering!

Message: Cannot read property 'communityMembershipStatus' of null

TypeError: Cannot read property 'communityMembershipStatus' of null
    at MembershipGate (webpack:///./app/javascript/packs/server-bundle.js_+_1255_modules?:18347:13478)
    at d (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:562:28)
    at Za (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:602:5)
    at a.b.render (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:740:11)
    at a.b.read (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:717:25)
    at renderToString (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:1008:18)
    at serverAppGenerator (webpack:///./app/javascript/packs/server-bundle.js_+_1255_modules?:7325:491)
    at Object.createReactOutput [as default] (webpack:///./node_modules/react-on-rails/node_package/lib/createReactOutput.js?:49:32)
    at Object.serverRenderReactComponent [as default] (webpack:///./node_modules/react-on-rails/node_package/lib/serverRenderReactComponent.js?:151:64)
    at Object.serverRenderReactComponent (webpack:///./node_modules/react-on-rails/node_package/lib/ReactOnRails.js?:216:51)