We are getting intermittent blank screens when going to mattermost URL, which goes away after the 4th refresh, sometimes more.
Steps to reproduce
We are getting the problem after upgrading from 3.8 to 4.3
Observed behavior
When we get the blank screen we get the following error in the browser console:
Uncaught (in promise) TypeError: Cannot read property 'substring' of undefined
at t.value (team_button.jsx:55)
at d._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:802)
at d._renderValidatedComponent (ReactCompositeComponent.js:825)
at d.performInitialMount (ReactCompositeComponent.js:365)
at d.mountComponent (ReactCompositeComponent.js:261)
at Object.mountComponent (ReactReconciler.js:49)
at mountChildren (ReactMultiChild.js:240)
at m._createInitialChildren (ReactDOMComponent.js:707)
at mountComponent (ReactDOMComponent.js:526)
at Object.mountComponent (ReactReconciler.js:49)
This is happening for me on all platforms Chrome browser, desktop app and we use Citrix Secure Web on the mobile.
This problem happens after login.
I believe we may have a similar problem to another thread which had something about entries present on channelmembers for a team that was previously deleted by manual database manipulation.
I am going to ask our database admin to run some queries to check this.