Describe your issue
On the profile page at app.mulearn.org/dashboard/profile, the browser console shows a critical JavaScript crash — Uncaught TypeError: Cannot read properties of null (reading 'style'). This error appears twice — once when the page loads and once when the user clicks something on the profile page. This means a JavaScript function is trying to access the style property of an element that does not exist in the page at that moment. This is a silent crash that the user cannot see but it causes certain functionality on the profile page to stop working unexpectedly without any error message shown to the user.
Steps to reproduce
1)Log in to https://app.mulearn.org
2)Click on Profile in the left sidebar
3)Press F12 to open DevTools
4)Click on the Console tab
6)Observe the error Uncaught TypeError: Cannot read properties of null (reading 'style')
5)Click on any interactive element on the profile page
7)Observe the same error appearing again on click confirming it is triggered by user interaction
What was the expected result?
No JavaScript errors should appear in the console when the profile page loads or when the user interacts with any element on the page. All JavaScript functions should safely check whether an element exists before trying to access its properties.
Actual Behavior
The console shows:
Uncaught TypeError: Cannot read properties of null (reading 'style')
index-6twkay.js:548
This error appears:
Once on page load — suggesting an element the code expects is missing from the DOM
Once on user click — suggesting clicking an element triggers a function that tries to access a null element's style property
The error originates from index-6twkay.js:548 at the onClick handler suggesting a click event is triggering the crash.
Put here any screenshots or videos (optional)
No response
Would you like to work on this issue?
Yes
Describe your issue
On the profile page at app.mulearn.org/dashboard/profile, the browser console shows a critical JavaScript crash — Uncaught TypeError: Cannot read properties of null (reading 'style'). This error appears twice — once when the page loads and once when the user clicks something on the profile page. This means a JavaScript function is trying to access the style property of an element that does not exist in the page at that moment. This is a silent crash that the user cannot see but it causes certain functionality on the profile page to stop working unexpectedly without any error message shown to the user.
Steps to reproduce
1)Log in to https://app.mulearn.org
2)Click on Profile in the left sidebar
3)Press F12 to open DevTools
4)Click on the Console tab
6)Observe the error Uncaught TypeError: Cannot read properties of null (reading 'style')
5)Click on any interactive element on the profile page
7)Observe the same error appearing again on click confirming it is triggered by user interaction
What was the expected result?
No JavaScript errors should appear in the console when the profile page loads or when the user interacts with any element on the page. All JavaScript functions should safely check whether an element exists before trying to access its properties.
Actual Behavior
The console shows:
Uncaught TypeError: Cannot read properties of null (reading 'style')
index-6twkay.js:548
This error appears:
Once on page load — suggesting an element the code expects is missing from the DOM
Once on user click — suggesting clicking an element triggers a function that tries to access a null element's style property
The error originates from index-6twkay.js:548 at the onClick handler suggesting a click event is triggering the crash.
Put here any screenshots or videos (optional)
No response
Would you like to work on this issue?
Yes