[wp-trac] [WordPress Trac] #42815: Console js error while loading Customizer(Uncaught TypeError: Cannot read property 'action' of null)

WordPress Trac noreply at wordpress.org
Sat Jan 6 17:51:42 UTC 2018


#42815: Console js error while loading Customizer(Uncaught TypeError: Cannot read
property 'action' of null)
--------------------------+----------------------
 Reporter:  coderarjun    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by afercia):

 * keywords:  reporter-feedback =>
 * version:  4.9.1 =>
 * milestone:  Awaiting Review =>


Comment:

 See follow up in #43005. Seems this is not specifically related to
 Grammarly but can happen with any plugin passing an empty message to
 `postMessage()` which then gets parsed with `$.parseJSON()`.

 You can reproduces this at any time just pasting this in your console (use
 your site url):
 `postMessage( '', 'http://src.wordpress-develop.test/' )`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42815#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list