Some of my random generators on Perchance just stopped working. I didn’t edit them, so I think it has to do with an update. I don’t know how to get them working again. Can someone help me?
Thanks!! @[email protected] @[email protected] I just fixed it as you were testing/commenting just now, which is why you were both seeing different things. I should have let you know I was fixing it to avoid confusion.
Turns out that a bug that I fixed recently caused an error instead of a warning for a certain class of problem. Now it should show the warning instead of just breaking the gen.
Thanks again! Please let me know if you run into any follow-on problems. Also, you might need to wait a minute or two for the cache to clear before confirming that all is back to normal. A quick way to ensure cache is cleared is to make a small edit to your generator and then save it, and refresh the page.
it is working fine for me, what goes wrong for you?
The result location says this:
[navbar(navMenu)] [title] [undertitle]
[output]
[output]
[output]
[output]
[output]
[output]
[output]
[output]
[output]
[output]
It says this about the error:
TypeError: Cannot read properties of undefined (reading ‘getSelf’) at Object.get (https://perchance.org/lib/perchance/createPerchanceTree.js?v=1adsd3dd65ddw3dd6f6dd2sflf3fwf:577:57) at __createPerchanceTree (https://perchance.org/lib/perchance/createPerchanceTree.js?v=1adsd3dd65ddw3dd6f6dd2sflf3fwf:418:27) at ___updateOutputMessageHandler (https://9f21b1a2e6ef0f721594a7183117a48b.perchance.org/trade-goods?__cacheBuster=46199937473986585:496:33) at https://9f21b1a2e6ef0f721594a7183117a48b.perchance.org/trade-goods?__cacheBuster=46199937473986585:445:7
If I logout it displays properly, but gives warnings.
It works if I log out and log back in, which is odd… But much better than the results I was getting.