Failed upgrade: TypeError: this.states.forEach is not a function


(Ionuț Staicu) #1

Hey guys, i just did a bit of mentenance of my discourse instance and things went south. Badly.

What i did:

git pull
./launcher rebuild app

The rebuild process completed without any errors, but when i try to access the web version, it crashes right after the header is rendered:

_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:29446 TypeError: this.states.forEach is not a function

I’ve disabled all plugins and all customisation but without any success.

This is the URL: https://devforum.ro/


Update: i’ve noticed that the problem is only present on home page. Topics are visible, Messages are working, categories are working.


(Penar Musaraj) #3

This should be fixed as of this commit: FIX: better fix for #ca84c06 (#6684) · discourse/discourse@7f089f0 · GitHub


(Régis Hanol) #4