• Resolved GDU

    (@gettingdownunder)


    Hi team

    For some reason, this plugin is breaking the display of posts when trying to edit a post in the block/preview editor.

    The post opens but nothing is displayed (If I use the code editor as opposed to the block editor, the text and associated HTML code displays fine.

    Opening the inspection console in chrome, I get the following error in the log.

    Uncaught TypeError: _.pluck is not a function
        at Object.setMarkers (mce-view.js?ver=5.9.1:145:16)
        at tN.<anonymous> (plugin.js?wp-mce-49110-20201110:94:33)
        at vp.c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
        at tN.fire (tinymce.min.js?ver=49110-20201110:2:197532)
        at $w (tinymce.min.js?ver=49110-20201110:2:340139)
        at tN.setContent (tinymce.min.js?ver=49110-20201110:2:347647)
        at tN.<anonymous> (block-library.js?ver=fb8cfd789616fa32f70090a33b3e6be5:4914:47)
        at vp.c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
        at tN.fire (tinymce.min.js?ver=49110-20201110:2:197532)
        at tN.load (tinymce.min.js?ver=49110-20201110:2:347090)

    Disabling Woocommerce Payments, causes the error to go away and the edited post to appear normally. The error appears to be linked to mce-view.js?ver=5.9.1

    Please can you investigate the issues?

    Many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @gettingdownunder,

    Very interesting – thank you for sharing this! Just to be sure, does this issue happen if you just have WooCommerce and WooCommerce Payments active (only them) instead of just disabling WC Pay? If it does we can bring this to the developer’s attention, but it might be that it is conflicting with something else on the site as well.

    Please let us know the results!

    I have the same error with just woopayments and jetpack

    @gettingdownunder and @djav1985 – We’re sorry for the trouble here.

    WCPay 3.8.1 has been released to fix this issue. Would you please update it and let us know the result?

    If the issue is still there, some screenshots would be helpful for us.

    Thread Starter GDU

    (@gettingdownunder)

    Hello @htdat , I’m pleased to confirm that the WCPay update has addressed my issue – Many thanks for turning around the fix so quickly, its very much appreciated ??

    Hi @gettingdownunder,

    Sounds good! We will mark this thread as resolved then. Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncaught TypeError: _.pluck is not a function causing issues when trying to edit’ is closed to new replies.