Title: Javascript object formatting error &#8211; bug with recent update.
Last modified: May 15, 2018

---

# Javascript object formatting error – bug with recent update.

 *  Resolved [recidvst](https://wordpress.org/support/users/recidvst/)
 * (@recidvst)
 * [8 years ago](https://wordpress.org/support/topic/javascript-object-formatting-error-bug-with-recent-update/)
 * Hi,
 * Since the latest update (version 3.0) I have noticed a Javascript error in my
   console, which is due to a formatting error on the ‘$buoop’ object. This line
   within the object needs a value attached to ‘c’ to be valid.
 * 
    notify:{e:8,f:45,o:37,s:8,c:}
 * C here is referring to the desired version of Chrome – when I went into the plugin
   settings and re-saved Chrome the bug was resolved, so the functionality works
   fine when it has been properly instantiated.
 * Perhaps $wpbu_vars ought to be provided with default values to ensure that the
   object doesn’t get passed empty values?
 * Thanks
    -  This topic was modified 8 years ago by [recidvst](https://wordpress.org/support/users/recidvst/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [MacSteini](https://wordpress.org/support/users/macsteini/)
 * (@macsteini)
 * [8 years ago](https://wordpress.org/support/topic/javascript-object-formatting-error-bug-with-recent-update/#post-10283529)
 * Will sort it with the next update. Thanks for the notification.
 *  [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-object-formatting-error-bug-with-recent-update/#post-10639064)
 * It is still broken in the same way.
 *  [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-object-formatting-error-bug-with-recent-update/#post-10639244)
 * The last item is just missing .. index [4]
 *     ```
       print_r($wpbu_vars);
       Array
       (
           [0] => 10
           [1] => 45
           [2] => 37
           [3] => 8
       )
       ```
   
 * <br />
    <b>Notice</b>: Undefined offset: 4 in <b> ../wp-browser-update/WP-BrowserUpdate.
   php</b> on line <b>27</b><br />

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Javascript object formatting error – bug with recent update.’ is closed
to new replies.

 * ![](https://ps.w.org/wp-browser-update/assets/icon-256x256.png?rev=2383682)
 * [WP BrowserUpdate](https://wordpress.org/plugins/wp-browser-update/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-browser-update/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-browser-update/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-browser-update/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-browser-update/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-object-formatting-error-bug-with-recent-update/#post-10639244)
 * Status: resolved