Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#6127 closed defect (bug) (fixed)

Errors in console when going to login for WordPress

Reported by: psmits1567's profile psmits1567 Owned by:
Milestone: Priority: normal
Component: Login & Authentication Keywords:
Cc:

Description (last modified by dd32)

If I open a project without login, then I need to login first to be able to add translations.
When I go to the login mask it opens but in the same time it generates a lot of errors as shown below

a: redirect_to=https%3A%2F%2Ftranslate.wordpress.org%2Fprojects%2Fwp-plugins%2Fpremium-addons-for-elementor%2Fstable%2Fnl%2Fdefault%2F%3Ffilters%255Bstatus%255D%3Duntranslated&locale=en_US
wporg-global-header-script.js?ver=1643748639:200 Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
    at wporg-global-header-script.js?ver=1643748639:200:110
(anonymous) @ wporg-global-header-script.js?ver=1643748639:200
wporg-global-header-script.js?ver=1643748639:200 Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
    at wporg-global-header-script.js?ver=1643748639:200:110
(anonymous) @ wporg-global-header-script.js?ver=1643748639:200
wporg-global-header-script.js?ver=1643748639:200 Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
    at wporg-global-header-script.js?ver=1643748639:200:110
(anonymous) @ wporg-global-header-script.js?ver=1643748639:200
VM733:1 a: redirect_to=https%3A%2F%2Ftranslate.wordpress.org%2Fprojects%2Fwp-plugins%2Fpremium-addons-for-elementor%2Fstable%2Fnl%2Fdefault%2F%3Ffilters%255Bstatus%255D%3Duntranslated&locale=en_US
VM734:1 a

It seems to me that something is missing

Change History (4)

#1 follow-up: @tobifjellner
3 years ago

Can you try if the same happens with various additional browser tools for translate. inactive

#2 in reply to: ↑ 1 @psmits1567
3 years ago

Replying to tobifjellner:

Can you try if the same happens with various additional browser tools for translate. inactive

Hi Tobi,

With everything disabled I have the same problem
So I moved from Crome to Firefox, with the same results

#3 @dd32
3 years ago

  • Component changed from Translate Site & Plugins to WordPress.org Site
  • Description modified (diff)

This looks like it's a global header JS issue rather than anything specific to translate.w.org

I've reproduced this on login.wordpress.org when resizing the browser window.

Reported upstream as https://github.com/WordPress/wporg-mu-plugins/issues/170 - Keeping this open as I suspect there might be something login.w.org specific in play here too.

#4 @dd32
3 years ago

  • Component changed from WordPress.org Site to Login & Authentication
  • Resolution set to fixed
  • Status changed from new to closed

Browser console is now clear. Upstream issue is still open for some improvements.

Note: See TracTickets for help on using tickets.