Exception in rendering!

Message: Cannot call method 'replace' of null

TypeError: Cannot call method 'replace' of null
    at Co (<eval>:243:184871)
    at o (<eval>:156:10296)
    at me (<eval>:156:11300)
    at e.render (<eval>:156:13810)
    at e.read (<eval>:156:13435)
    at ve.renderToString (<eval>:156:18192)
    at c.a.register.App (<eval>:243:420648)
    at t.default (<eval>:85:190291)
    at t.default (<eval>:156:28349)
    at Object.v.ReactOnRails.serverRenderReactComponent (<eval>:74:54364)