Title: JS error &#8220;Cannot destructure property&#8221;
Last modified: April 5, 2022

---

# JS error “Cannot destructure property”

 *  Resolved [mpecko563](https://wordpress.org/support/users/mpecko563/)
 * (@mpecko563)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/)
 * Uncaught TypeError: Cannot destructure property ‘serverSideRender’ of ‘wp.serverSideRender’
   as it is undefined.
    at block.js?ver=1649190480:30:8
 * fresh install WordPress 5.9.3
    Chrome Version 99.0.4844.84 (Official Build) (
   64-bit)

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

 *  Thread Starter [mpecko563](https://wordpress.org/support/users/mpecko563/)
 * (@mpecko563)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15530254)
 * Also block doesn’t show in blocklist, short code doesn’t work.
 *  Plugin Author [efreja](https://wordpress.org/support/users/efreja/)
 * (@efreja)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15533640)
 * Hello,
    I know another issue :    Uncaught TypeError: wp.serverSideRender is 
   undefined in block.js. which to my knowledge only appears in the console and 
   neverthesess does not prevent from working. But just in case, it is corrected
   in next version to come very soon…
 *  Plugin Author [efreja](https://wordpress.org/support/users/efreja/)
 * (@efreja)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15541742)
 * Hello. Please try with version 4.0.2. Thanks
 *  Thread Starter [mpecko563](https://wordpress.org/support/users/mpecko563/)
 * (@mpecko563)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15543518)
 * Still not working. The block now shows up, but when I try to display an XML file
   nothing shows on the post. Then when I try to use the shortcode:
 *     ```
       [pn_msv format="abc"]
       X:1
       T:La Vie En Rose
       M:C|2
       L:1/4
       K:C
       c3B|AGEc|B3A|GECB|A3G|EB,CB|A4|G2z2|]
       [/pn_msv]
       ```
   
 * I get a Vervio error in the console that jQuery is not defined.
    `Verovio err
   =ReferenceError: jQuery is not defined,log=` at line `msv.js?ver=4.0.2:75`
    -  This reply was modified 4 years, 2 months ago by [mpecko563](https://wordpress.org/support/users/mpecko563/).
 *  Plugin Author [efreja](https://wordpress.org/support/users/efreja/)
 * (@efreja)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15543762)
 * That’s the hic !
    Wordpress **is bundled** with JQuery. See : [https://codex.wordpress.org/Javascript_Reference](https://codex.wordpress.org/Javascript_Reference)
   There must be an installation problem or some. Hundreds of sites use my plugin
   without any issue. Hope it helps.
 *  Plugin Author [efreja](https://wordpress.org/support/users/efreja/)
 * (@efreja)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15552976)
 * Hello. As the block now shows up, the object of the ticket can be considered 
   as fixed by version 4.0.2, so I mark it as resolved. If you still have issues
   that are caused by the plugin please open a new ticket.

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

The topic ‘JS error “Cannot destructure property”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/music-sheet-viewer_050505.svg)
 * [Music Sheet Viewer](https://wordpress.org/plugins/music-sheet-viewer/)
 * [Support Threads](https://wordpress.org/support/plugin/music-sheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/music-sheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/music-sheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/music-sheet-viewer/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [efreja](https://wordpress.org/support/users/efreja/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/js-error-cannot-destructure-property/#post-15552976)
 * Status: resolved