[wp-meta] [Making WordPress.org] #6127: Errors in console when going to login for WordPress

Making WordPress.org noreply at wordpress.org
Wed Feb 23 02:00:00 UTC 2022


#6127: Errors in console when going to login for WordPress
--------------------------------+---------------------
 Reporter:  psmits1567          |       Owner:  (none)
     Type:  defect              |      Status:  new
 Priority:  normal              |   Milestone:
Component:  WordPress.org Site  |  Resolution:
 Keywords:                      |
--------------------------------+---------------------
Changes (by dd32):

 * component:  Translate Site & Plugins => WordPress.org Site


Old description:

> 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

New description:

 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

--

Comment:

 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.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6127#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list