Exception in rendering!

Message: Cannot call method 'replace' of null

TypeError: Cannot call method 'replace' of null
    at ts (<eval>:251:214140)
    at a (<eval>:156:10296)
    at he (<eval>:156:11300)
    at e.render (<eval>:156:13810)
    at e.read (<eval>:156:13435)
    at ve.renderToString (<eval>:156:18192)
    at f.a.register.App (<eval>:251:537535)
    at t.default (<eval>:85:307344)
    at t.default (<eval>:156:28349)
    at Object.v.ReactOnRails.serverRenderReactComponent (<eval>:69:156079)