[wp-meta] [Making WordPress.org] #5128: Using the Handbook search produces a Javascript error in the console

Making WordPress.org noreply at wordpress.org
Wed Apr 1 21:18:17 UTC 2020


#5128: Using the Handbook search produces a Javascript error in the console
-----------------------------+---------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Handbooks        |  Resolution:
 Keywords:                   |
-----------------------------+---------------------
Description changed by garrett-eclipse:

Old description:

> Hello,
>
> If you do a search inside the plugin handbook you see an error in the
> console;
> ```
> main.js?ver=5.5-alpha-47544:212 Uncaught TypeError: Cannot read property
> 'open' of undefined
>     at initialize (main.js?ver=5.5-alpha-47544:212)
>     at i.h.Router (backbone.min.js?ver=1.4.0:2)
>     at new i (backbone.min.js?ver=1.4.0:2)
>     at Object.o2.start (main.js?ver=5.5-alpha-47544:507)
>     at HTMLDocument.<anonymous> (?s=Test:989)
>     at i (jquery.js?ver=1.12.4-wp:2)
>     at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
>     at Function.ready (jquery.js?ver=1.12.4-wp:2)
>     at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
> ```
>
> It appears to be related to the o2.Notifications but am unsure beyond
> there.
>
> Cheers

New description:

 Hello,

 If you do a search inside the plugin handbook you see an error in the
 console;
 `
 main.js?ver=5.5-alpha-47544:212 Uncaught TypeError: Cannot read property
 'open' of undefined
     at initialize (main.js?ver=5.5-alpha-47544:212)
     at i.h.Router (backbone.min.js?ver=1.4.0:2)
     at new i (backbone.min.js?ver=1.4.0:2)
     at Object.o2.start (main.js?ver=5.5-alpha-47544:507)
     at HTMLDocument.<anonymous> (?s=Test:989)
     at i (jquery.js?ver=1.12.4-wp:2)
     at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
     at Function.ready (jquery.js?ver=1.12.4-wp:2)
     at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
 `
 Example - https://make.wordpress.org/plugins/handbook/?s=Test

 It appears to be related to the o2.Notifications but am unsure beyond
 there.

 Cheers

--

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


More information about the wp-meta mailing list