• Hi,

    On import of even the most basic Word file I get this error.

    Error while attempting to convert file: Cannot read property ‘attributes’ of undefined

    It seems to show okay in the VisualEditor below.

    Running WordPress 5.3.2 on the7 theme on PHP 7.3 with WPBakery.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Williamson

    (@michaelwilliamson)

    Sorry for the slow response. If you’re still having trouble: do you have any other plugins installed? Do you get the same issue if you use the default theme and no other plugins?

    Which browser are you using? Do you get the same issue if you use another browser?

    If you open the developer tools using F12 and open the Console tab, do you see any errors when trying to import a document?

    Hi Michael,

    I’m having the same issue but found the offending plugin. It works with WooCommerce 4.2, but breaks with WooCommerce 4.3.

    Here are the errors from the console with WooCommerce 4.3:
    mammoth-editor.js?v=1.15.0:194 TypeError: Cannot read property ‘attributes’ of undefined
    at Module.Ue (blocks.min.js?ver=423068d7079f57cf9f02458ccb4a6131:3)
    at insertTextIntoEditor (mammoth-editor.js?v=1.15.0:177)
    at mammoth-editor.js?v=1.15.0:92
    at tryCatcher (mammoth-editor.js?v=1.15.0:5641)
    at Promise._settlePromiseFromHandler (mammoth-editor.js?v=1.15.0:3660)
    at Promise._settlePromise (mammoth-editor.js?v=1.15.0:3717)
    at Promise._settlePromise0 (mammoth-editor.js?v=1.15.0:3762)
    at Promise._settlePromises (mammoth-editor.js?v=1.15.0:3841)
    at Async._drainQueue (mammoth-editor.js?v=1.15.0:616)
    at Async._drainQueues (mammoth-editor.js?v=1.15.0:626)
    at Async.drainQueues (mammoth-editor.js?v=1.15.0:500)

    Let me know if I can provide additional info.
    Thanks for the helpful plugin!
    Nate

    I have the same error with the Yoast SEO plugin. I was forced to downgrade the Yoast SEO plugin to 14.6.1 version.

    Thank you @michaelwilliamson! It’s working again since the latest update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘On Import Error while attempting to convert file’ is closed to new replies.