• Resolved frankmanl

    (@frankmanl)


    WP 5.3 and Gutenberg 6.9.0
    I can’t add images or other files and get the message: “This block has encountered an error and cannot be previewed.”
    Strange enough it does not happen in all sites I manage.
    What other info can I provide to solve this?
    Frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Riad Benguella

    (@youknowriad)

    Hi There!

    Can you check your browser’s console and get the JavaScript error from there?
    Also, would you be able to disable your other plugins one by one to see if it’s a plugin conflict?

    Thanks for your help.

    Thread Starter frankmanl

    (@frankmanl)

    Looks like it’s Enhanced Media Library plugin.
    I’ll contact hem. Thank you.

    BTW
    As soon as I open a new page in my editor the console gives these warnings, even when Enhanced Media Library is deactivated:

    • JQMIGRATE: Migrate is installed, version 1.4.1 load-scripts.php:8:552
    • wp.editor.withFontSizes is deprecated. Please use wp.blockEditor.withFontSizes instead. index.js:1:1625
    • wp.editor.withColors is deprecated. Please use wp.blockEditor.withColors instead. index.js:1:1625
    • Download the React DevTools for a better development experience: https://fb.me/react-devtools blocks.build.js:1:993957
    • onmozfullscreenchange wordt niet meer ondersteund. index.js:6:108090
    • onmozfullscreenerror wordt niet meer ondersteund. index.js:6:108090
    • MouseEvent.mozPressure wordt niet meer ondersteund. Gebruik in plaats daarvan PointerEvent.pressure. wp-tinymce.js:3:9108

    wordt niet meer ondersteund means: no longer supported
    Gebruik in plaats daarvan means: use .. in stead

    Plugin Author Riad Benguella

    (@youknowriad)

    The deprecations are messages the block authors using these APIs should take into consideration to update their plugins. Everything will work as intended though.

    The other ones seem to be coming from TinyMCE but nothing severe I think.

    Thread Starter frankmanl

    (@frankmanl)

    Thank you, Riad.

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

The topic ‘This lock has encountered an error …’ is closed to new replies.