ethereum / ethereum-org-website

Ethereum.org is a primary online resource for the Ethereum community.
https://ethereum.org/
MIT License
4.89k stars 4.67k forks source link

Application error on page layer 2 when setting portuguese brazilian language #13245

Open rafarocha opened 2 days ago

rafarocha commented 2 days ago

Describe the bug

When opening the page about layer 2 in Portuguese Brazilian language, I get a client-side error. When trying to open the same page in another language, English or Italian, it all works fine.

To reproduce

  1. Go to page ethereum.org with English Language
  2. Click on the search icon at the top
  3. Type layer 2
  4. All of it works fine but ...
  5. Select on the top Portuguese Brazilian language
  6. See error

Expected behavior

Expected to see the info page about Ethereum on layer 2 with success as an English language https://ethereum.org/en/layer-2/

Screenshots

Screenshot 2024-06-25 at 22 08 47

Desktop (please complete the following information)

Smartphone (please complete the following information)

No response

Additional context

log1

DOMException: Failed to execute 'setAttribute' on 'Element': ']' is not a valid attribute name.
    at o (https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:21311)
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:22499
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:22507
    at Array.reduce (<anonymous>)
    at e (https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:22075)
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:23328
    at Array.map (<anonymous>)
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:21691
    at t.Z (https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:20:53975)
    at ak (https://ethereum.org/_next/static/chunks/framework-56eb74ff06128874.js:9:60903)
a9 @ framework-56eb74ff06128874.js:9

log2

DOMException: Failed to execute 'setAttribute' on 'Element': ']' is not a valid attribute name.
at o (https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:21311)
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:22499
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:22507
    at Array.reduce (<anonymous>)
    at e (https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:22075)
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:23328
    at Array.map (<anonymous>)
    at https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:1:21691
    at t.Z (https://ethereum.org/_next/static/chunks/pages/_app-b1445fbd6e2a82e9.js:20:53975)
    at ak (https://ethereum.org/_next/static/chunks/framework-56eb74ff06128874.js:9:60903)

log3

A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred

log4

Uncaught Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at i (framework-56eb74ff06128874.js:9:120775)
    at oD (framework-56eb74ff06128874.js:9:99073)
    at framework-56eb74ff06128874.js:9:98940
    at oO (framework-56eb74ff06128874.js:9:98947)
    at oE (framework-56eb74ff06128874.js:9:95699)
    at ox (framework-56eb74ff06128874.js:9:94254)
    at x (framework-56eb74ff06128874.js:33:1364)
    at MessagePort.T (framework-56eb74ff06128874.js:33:1894)

log5

warning: _app-b1445fbd6e2a82e9.js:1 react-i18next:: 
You will need to pass in an i18next instance by using initReactI18next

log6

Manifest: Line: 42, column: 1, Unexpected token.

log7

The resource https://ethereum.org/fonts/inter/latin.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.Understand this warning
layer-2/:1 

Would you like to work on this issue?