[wp-trac] [WordPress Trac] #36823: "TypeError: wp.updates is undefined" when installing a plugin

WordPress Trac noreply at wordpress.org
Sat Jul 1 13:38:16 UTC 2017


#36823: "TypeError: wp.updates is undefined" when installing a plugin
-------------------------------------------------+-------------------------
 Reporter:  tfrommen                             |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Upgrade/Install                      |  Release
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing reporter-    |  Resolution:
  feedback                                       |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by jrf):

 I've just been able to reproduce this bug twice and can confirm that it
 still exists in WP 4.8.

 Steps I took which caused me to encounter the bug:
 1. Go to the /wp-admin/update-core.php page.
 2. The only updates showing were translations, so I click the button to
 run that update.
 3. It runs a while and downloads a lot of core translations. When the run
 ends, I see the following js error in the Debug Bar.
 [[Image(https://snag.gy/MBt72J.jpg)]]
 4. Now there are suddenly two plugin updates available.
 5. I run those.
 6. I return to the WordPress Updates Page, there are new translations
 available again.
 7. I click on the Update translation button and see the plugin
 translations being pulled in. When the update is finished, I see the same
 js error but with a different line number:
 [[Image(https://snag.gy/3m1zk4.jpg)]]

 So the short of it is, that it seems to only happen when **only**
 translations are being updated.

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


More information about the wp-trac mailing list