• Resolved Gil Sousa

    (@heckel)


    Hi,

    I’ve noticed this for a while, though at first I thought it was an issue that was so obvious that would be fixed, that I ignored for a few versions. Though, after a few versions, this is starting to bother me a bit more…

    Whenever I try to upload an image directly to a post, the block shows an error message that it faced an error and it can’t show a preview. If I refresh the page, I will see my image normally.

    Similar thing happens to whenever I upload or change a cover photo, but when I do that, I must refresh the page, or I will encounter another error message if I try to edit the post.

    Once I deactivate Smush plugin, everything is fine again. So this is definitely related to Smush. Though, might be incompatibility with any other plugin I have also installed.

    Here’s the list of plugins I have installed:

    Akismet Anti-Spam
    Cloudflare
    Contact Form 7
    Easy Table of Contents
    Enable Media Replace
    Enhanced Media Library
    Google Analytics for WordPress by MonsterInsights
    Jetpack por WordPress.com
    MailChimp Forms by MailMunch
    Optimize Database after Deleting Revisions
    Polylang
    Redirection
    Remove Old Slugs
    Simple Lightbox
    Smush
    Stackable – Gutenberg Blocks
    W3 Total Cache
    Wordfence Security
    WPSSO Core
    WPSSO Schema JSON-LD Markup
    Yoast SEO

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @heckel,

    We did fix an issue with media uploads in the upcoming version. It’s hard to say if it’s the exact same issue you have without seeing the actual error message, but it does look similar. The update will be out this week or early next week.

    Best regards,
    Anton

    Thread Starter Gil Sousa

    (@heckel)

    I just checked after the update, and at least for the cover photo, this isn’t still working.

    Which kind of logs do you need? A screenshot of the screen would suffice?

    Hi @heckel,

    Yes, a screenshot with errors in the browser console will be enough.
    Thanks

    Best regards,
    Anton

    Thread Starter Gil Sousa

    (@heckel)

    Apologies for the delay, here’s the screenshot:

    View post on imgur.com

    This happens after I upload the cover photo, and then I tap anywhere in my post to keep writing.

    Hi @heckel,

    Could you please press “Copy Error” and paste that here?

    Best regards,
    Anton

    Thread Starter Gil Sousa

    (@heckel)

    Sure, here it is:

    https://www.gilsousa.eu/wp-includes/js/backbone.min.js?ver=1.4.0:1:3796
    https://www.gilsousa.eu/wp-includes/js/backbone.min.js?ver=1.4.0:1:3658
    r@https://www.gilsousa.eu/wp-includes/js/backbone.min.js?ver=1.4.0:1:2249
    l@https://www.gilsousa.eu/wp-includes/js/backbone.min.js?ver=1.4.0:1:870
    https://www.gilsousa.eu/wp-includes/js/backbone.min.js?ver=1.4.0:1:1637
    https://www.gilsousa.eu/wp-includes/js/media-views.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:5241
    dispose@https://www.gilsousa.eu/wp-includes/js/media-views.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:23777
    dispose@https://www.gilsousa.eu/wp-includes/js/media-views.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:73993
    remove@https://www.gilsousa.eu/wp-includes/js/media-views.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:23837
    https://www.gilsousa.eu/wp-includes/js/underscore.min.js?ver=1.8.3:1:2855
    https://www.gilsousa.eu/wp-includes/js/underscore.min.js?ver=1.8.3:1:1937
    https://www.gilsousa.eu/wp-includes/js/underscore.min.js?ver=1.8.3:1:2801
    remove@https://www.gilsousa.eu/wp-includes/js/wp-backbone.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:1624
    remove@https://www.gilsousa.eu/wp-includes/js/wp-backbone.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:2744
    remove@https://www.gilsousa.eu/wp-includes/js/media-views.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:23879
    https://www.gilsousa.eu/wp-includes/js/underscore.min.js?ver=1.8.3:1:2855
    https://www.gilsousa.eu/wp-includes/js/underscore.min.js?ver=1.8.3:1:1937
    https://www.gilsousa.eu/wp-includes/js/underscore.min.js?ver=1.8.3:1:2801
    remove@https://www.gilsousa.eu/wp-includes/js/wp-backbone.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:1624
    remove@https://www.gilsousa.eu/wp-includes/js/wp-backbone.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:2744
    remove@https://www.gilsousa.eu/wp-includes/js/media-views.min.js?ver=009ec69acd2ad023d93b0ad4f91ca419:1:23879
    value@https://www.gilsousa.eu/wp-includes/js/dist/media-utils.min.js?ver=1.2.4:1:7226
    Ii@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:104:96
    $g@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:105:322
    bh@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:105:405
    ah@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:109:122
    Ti@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:145:153
    Ti@[native code]
    unstable_runWithPriority@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react.min.js?ver=16.9.0:26:341
    Ia@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:140:409
    Ia@[native code]
    ze@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:118:15
    ze@[native code]
    https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:53:50
    unstable_runWithPriority@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react.min.js?ver=16.9.0:26:341
    mg@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:52:498
    V@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:52:433
    Be@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:119:78
    xi@https://www.gilsousa.eu/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:39:175
    xi@[native code]

    Note that, also related to this, I cannot upload a cover photo directly to the post. I need to go to the Media Library and upload it from there, and only then add it to the post.

    Thread Starter Gil Sousa

    (@heckel)

    Any update regarding when this issue will be fixed?

    Hi @heckel,

    Sorry for the delay. I was able to replicate the issues on uploading media to the featured image section for a post. The conflicting plugin is Enhanced Media Library. But I have the errors, regardless of whether I have Smush enabled or not. Could you please check if disabling this plugin resolves all the issues?

    You can also try toggling Gutenberg Support in Smush – Integrations. Not sure if this helps your specific case.

    Best regards,
    Anton

    Hello @heckel

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

    Thread Starter Gil Sousa

    (@heckel)

    Apologies for the delay.

    Regarding this issue, so I did the following:
    1) I disabled Enhanced Media Library plugin, as in fairness I didn’t need it
    2) This setting was already on: Gutenberg Support in Smush – Integrations

    And yes, this helped!

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error while trying to upload an image directly to a post’ is closed to new replies.