• Resolved mpecko563

    (@mpecko563)


    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

    (@mpecko563)

    Also block doesn’t show in blocklist, short code doesn’t work.

    Plugin Author efreja

    (@efreja)

    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

    (@efreja)

    Hello. Please try with version 4.0.2. Thanks

    Thread Starter mpecko563

    (@mpecko563)

    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 2 years, 2 months ago by mpecko563.
    Plugin Author efreja

    (@efreja)

    That’s the hic !
    Wordpress is bundled with JQuery.
    See :
    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

    (@efreja)

    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.