Same issue here with Redmi Note 5 and other redmi smartphones.
I like how we’ve had to figure this out entirely on our own. Arbitrary changes lock paying customers out with no notice, and they can’t even be arsed to let us know.
Yes, that’s what happened. To be exact; Some parts of chatGPT’s javascript code use the new functionality: “Array.prototype.toSorted”, which is not in previous versions of Chrome. In Google Chrome version: “109.0.5414.120” this is solved by adding this functionality manually in the javascript console of the chatGPT page:
if (!Array.prototype.toSorted) {
Array.prototype.toSorted = function(compareFn) {
compareFn = compareFn || ((a, b) => String(a).localeCompare(b));
const arrayCopy = [...this];
return arrayCopy.sort(compareFn);
};
}
or by automatically injecting it into the chatGPT load; with the help of the extension: “Resource Override”
Nice Bro. Work. My Salvation.
![]()
Problem all day while running W7 and W8.1, Using latest Chrome and Firefox browsers. Everything worked fine yesterday. I think chatGPT should resolve this or at least give some indication of what is going on
Got the same thing yesterday out of nowhere and just checked again today. It’s still happening whenever I give it a prompt or click on a different chat. I tried it on chrome and safari, but no still no luck. I’m not using any VPN’s or plugins.
This is not critical functionality that they need to have in the webpage.
So, they need to remove the need for this routine so it will resume working on older browsers.
If this isn’t fixed SOON, I am switching ALL my workflows and users to CLAUDE or LAMBDA. I can’t even just LOOK at my previous chats? Uh-uh!
Nobody is going to force me to use a specific browser or an OS after all the time and effort I have invested in machines to make things run smooth, and I suggest everyone else does the same if this doesn’t get fixed. Simple as that. They aren’t they only ticket in town, and by the looks of it, they will soon lose a lot of users.
thanks, my os is win7,Chrome error, Firefox is ok!
same problem for about 3 days, I use ubuntu 18.04 with firefox
the log of browser shows
“TypeError: n.toSorted is not a function”
and
“Caused by: React ErrorBoundary Error: n.toSorted is not a function”
red words
same problem here. ive been struggling this issue since yesterday using MS EDGE browser. done all the clear caching and still does not work. I change browser to firefox instead with the latest version and now its working like nothings happen.
I am swithching to FireFox Borwser and fixed the problem.
Rather disgusting that OpenAI just leave it to us to figure it out ourselves.
I got the error all of a sudden, while I was in the middle of a chat. I’m on an older Chromebook.
Tried cache/cookies, rebooting, etc., with no luck.
Just went to the google play store and installed the Chrome beta browser; loaded it up, and it works fine.
Its working. Thanks Man!
-Windows 7 Chrome
well,actually, it’s due to the browser version. My edge can be used normally after upgrading to the latest version. In my old version (which stopped updating around 2021), the browser console reported many errors in recognizing keywords in JS and CSS files. However, after updating the edge, these errors disappeared. I suspect it was a way to eliminate old browsers.
Updating your browser will solve this problem.My way.
OMG, you are a genius! Thank you so much, I can’t believe that worked.
Steps to Execute the Code:
- Load ChatGPT.
- Press F12 to open the Developer Tools.
- Go to the Console tab.
- Inject the following code:
if (!Array.prototype.toSorted) {
Array.prototype.toSorted = function(compareFn) {
compareFn = compareFn || ((a, b) => String(a).localeCompare(b));
const arrayCopy = [...this];
return arrayCopy.sort(compareFn);
};
}
Yes, I am also getting same issue, Oops, an error occurred!
While its working on mobile , but when I tried to access chatgpt on my laptop getting this error. While I have tried in different browser but still problem not solved.
I don’t know what to do…
