• Resolved vegardjorg

    (@vegardjorg)


    UPDATE: It was not a WP smush related issue. Most likely some other plugin. It’s not a conflict with WP smush either – the same issue triggers without WP smush installed.

    • This topic was modified 6 years, 8 months ago by vegardjorg.
    • This topic was modified 6 years, 8 months ago by vegardjorg.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @vegardjorg,

    Can you just deactivate all plugins and check? Does media library appears ok if you disable smush?

    Thanks, Umesh

    Thread Starter vegardjorg

    (@vegardjorg)

    Yeah,

    After some further testing it’s not a wp- smush issue.
    It just happened to trigger while I was smushing.
    Any media upload triggers, also with the plugin removed.

    Sorry for wasting your time. Thanks for a super quick reply.

    • This reply was modified 6 years, 8 months ago by vegardjorg.
    • This reply was modified 6 years, 8 months ago by vegardjorg.
    Thread Starter vegardjorg

    (@vegardjorg)

    So here was the issue if someone has this same problem.
    It had nothing to do with WP smush. Any image altering action would have triggered this problem.

    The issue arose from a recent site migration.
    The wordpress files and database were moved to a different hosting provider.
    In the new database somehow primary key and auto increment was not set in wp_posts and wp_postmeta. (ID and meta_id needs to be set to both primary key and auto increment).

    This caused the problem (this time triggered accidentally by wp smush, or any other image operation, as they made new database entries with 0 as ID instead of a unique auto incremented primary key).

    Fixed in phpmyadmin.

    Solution found from comment by Pranoy Sinha on this website https://sebastian.expert/fix-wordpress-an-error-occurred-in-the-upload-please-try-again-later/. Thanks Pranoy.

    Hope this can be useful for someone else.

    For search visibility:
    wordpress media library images no images shown after image upload

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Media library empty after using smush’ is closed to new replies.