Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Nineteen theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Hi
    I had the same error as you @farahmaizar . The issues I had was that I was missing the imagick PHP module and mod_fcgid in the Apache modules. I have written a short manual here on how to turn it on if you are the admin of your web server.
    If you wan’t the non technical workaround that might get you up and running quickly is that you install and use Add from server plugin. That was what I could use until I found my server error.

    We tried almost all of the suggested fixes. this is the solution that worked for us: We are running on budget cpanel hosting, running php 7.2 and using the latest version of wordpress 5.4. Our hosts had switched the php manager without telling us.

    In our case, ImageMagick (part of php) is causing the problem. So, i just added this lines to functions.php to tell WordPress to use GD editor instead.

    function use_gd_editor($array) {
    return array( ‘WP_Image_Editor_GD’, );
    }
    add_filter( ‘wp_image_editors’, ‘use_gd_editor’ );

    • This reply was modified 4 years, 7 months ago by ahcreative.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to upload images to WordPress after updating’ is closed to new replies.