445: Uncaught TypeError

Post

Posted
Rating:
#2655 (In Topic #483)
Avatar
Standard member
mythus is in the usergroup ‘Community saint’
So, I keep getting the following fun error popup…

Fun Error Popup said


An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in Composr, please contact the developers with full details. More details are available in your browser's error console. The error was:

445: Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
https://legendsofnorova.net/themes/Ablution/templates_cached/EN/global_ssl.js?1493481087


Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
#2659
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Are you able to find a stack trace for this? If you have your browser error console open when it happens, it usually will print a full stack trace in there.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2660
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Also what browser, and any specific page and situation it happens on?


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2661
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
This should suppress it, but I'd like to know the true cause. Only a stack trace will tell me, as this is a very commonly used function.
https://github.com/ocproducts/composr/commit/9a23d4c20266dafb5ae9bc1a55fb9267b74d9792


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2677
Avatar
Standard member
mythus is in the usergroup ‘Community saint’
Sorry, got busy. I don't want to suppress it, thanks though. I rather catch it and have it fixed. Luckily I'm the only one to see it.

I use Vivaldi. The error console only gives me this:

Code

[Violation] Forced reflow while executing JavaScript took 138ms
[Violation] Forced reflow while executing JavaScript took 130ms
global_ssl.js?1493481087:445 Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
    at find_pos_y (global_ssl.js?1493481087:445)
    at internalise_ajax_block_wrapper_links (ajax_ssl.js?1493481087:47)
    at index.php?page=start:2984
find_pos_y @ global_ssl.js?1493481087:445
internalise_ajax_block_wrapper_links @ ajax_ssl.js?1493481087:47
(anonymous) @ index.php?page=start:2984
index.php?page=start:2983 [Violation] 'setTimeout' handler took 80ms
browser-bundle.js:2 [Violation] 'requestIdleCallback' handler took 55ms
browser-bundle.js:2 [Violation] 'setTimeout' handler took 446ms

This happens anywhere. Just loading the site or refreshing the page is enough to make it happen.


Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
#2679
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Fixed :)


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,830 members
  • Our newest member is Customcollective
Back to Top