• Resolved recidvst

    (@recidvst)


    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.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MacSteini

    (@macsteini)

    Will sort it with the next update. Thanks for the notification.

    It is still broken in the same way.

    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.