Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Error on /user/[username] route on some Mobile browsers #1493

Closed
1 of 2 tasks
babblebey opened this issue Aug 5, 2023 · 9 comments · Fixed by #1580
Closed
1 of 2 tasks

Bug: Error on /user/[username] route on some Mobile browsers #1493

babblebey opened this issue Aug 5, 2023 · 9 comments · Fixed by #1580
Assignees
Labels
🐛 bug Something isn't working high-priority Work on these issues first question Further information is requested released on @beta released

Comments

@babblebey
Copy link
Contributor

babblebey commented Aug 5, 2023

Describe the bug

On Visit to user/[username] route specifically on the Brave Browser Mobile, the error below occurs.

Screenshot_2023-08-05-16-56-06-909_com brave browser

This as been the case for as long as I've been in the community, 1.5month+ now.

It work alright on Chrome Mobile browsers I have since tested on other browser I can reach on my mobile and here' are the results

  • Chrome ⚪ Mobile - Works
  • Opera 🅾️ Mini - Application Error
  • Brave 🦁 Mobile - Application Error
  • Kiwi 🥝 Browser - Application Error

Steps to reproduce

On the browsers stated as ones with error.

  1. Visit the highlights page at /feed
  2. Click on any user profile which should route you to /user/[username]

Expected Behaviour

The User Profile should be opened normally

Actual Behaviour

The page opens to an error message Application error: a client-side exception has occurred (see the browser console for more information).

Browsers

Opera, Other (add additional context)

Additional context (Is this in dev or production?)

Brave Mobile, Kiwi, Opera Mini

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@brandonroberts
Copy link
Contributor

Do you have any stacktrace information?

@brandonroberts brandonroberts added question Further information is requested 🐛 bug Something isn't working high-priority Work on these issues first labels Aug 7, 2023
@babblebey
Copy link
Contributor Author

Do you have any stacktrace information?

None for now, I will have to figure out a way to access the console on the mobile browser to get that.

Will revert asap!

@babblebey
Copy link
Contributor Author

Here @brandonroberts

main-9025912cef66298b.js:1 - TypeError: J.pathname.split(...).at is not a function
    at eP (9055.30fa0038a7658f88.js:1:21330)
    at ab (framework-aec4381329cec0e4.js:9:60911)
    at i (framework-aec4381329cec0e4.js:9:119455)
    at oO (framework-aec4381329cec0e4.js:9:99104)
    at framework-aec4381329cec0e4.js:9:98971
    at oF (framework-aec4381329cec0e4.js:9:98978)
    at ox (framework-aec4381329cec0e4.js:9:95730)
    at oC (framework-aec4381329cec0e4.js:9:96119)
    at r4 (framework-aec4381329cec0e4.js:9:44772)
    at framework-aec4381329cec0e4.js:9:93622
main-9025912cef66298b.js:1 - A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred

image

@takanome-dev
Copy link
Contributor

I tried it using the devtools and my phone on Brave Browser but couldn't reproduce it 🤔

And I think it's pretty well supported, since Brave is chromium based it should work

caniuse-at

@babblebey
Copy link
Contributor Author

babblebey commented Aug 12, 2023

Hey @takanome-dev

You will be needing to use USB Debugging with your Developer Mode turned on, on your Android device to start with.

Learn More - https://www.browserstack.com/guide/chrome-mobile-debugging#toc0

In regard the Chromium relation, I thought the same too, but it just doesn't happen to apply, I don't know why.

I will really want you to recreate the issue first, then we can try figure out how to use a polyfill for this or what best way to move forward.

@babblebey
Copy link
Contributor Author

.take

@open-sauced
Copy link
Contributor

open-sauced bot commented Aug 22, 2023

🎉 This issue has been resolved in version 1.61.0-beta.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@open-sauced
Copy link
Contributor

open-sauced bot commented Aug 24, 2023

🎉 This issue has been resolved in version 1.61.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@open-sauced open-sauced bot added the released label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working high-priority Work on these issues first question Further information is requested released on @beta released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants