Exception in rendering!

Message: Cannot call method 'replace' of null

TypeError: Cannot call method 'replace' of null
    at ts (<eval>:251:326941)
    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:660793)
    at t.default (<eval>:85:339364)
    at t.default (<eval>:156:28370)
    at Object.v.ReactOnRails.serverRenderReactComponent (<eval>:69:158619)