[WP Smush Pro] Smush Pro Plugin 500 internal server error

When i click Smush pro plugin from sidebar of admin panel. I am getting 500 internal server error.

It was working okey yesterday.

  • Dimitris

    Hello there Selçuk,

    hope you're doing good and thanks for reaching us! :slight_smile:

    I tried to replicate in a testing site of mine, with no avail though. Is this still happening in your website? Cause it could be a temporary glitch. Please advise!

    If this continues for you, please access your server via FTP, edit wp-config.php file, find a line like
    define('WP_DEBUG', false);and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That's all, stop editing! Happy blogging. */ comment)

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);
    // Smush API timeout
    define('WP_SMUSH_API_TIMEOUT', 150);

    Then try to bulk smush your images once more. If the same error comes up again, then a /wp-content/debug.log file should be created. Simply download it, rename it to debug.txt and attach it here in your next reply. If size of text file exceeds the 5MB limit of our blog, please use a service like Dropbox and post the shareable link instead.
    Ref: https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/

    After attaching your error log, also grant temporary support access via WPMUDEV Dashboard plugin, no need to share any WP admin credentials. Just navigate in WP admin area under WPMU DEV -> Support page and click on the "grant support access" button. You can find detailed information about it here: https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-5
    Please do reply back here when access is granted because we don't get any notifications about it.

    Warm regards,
    Dimitris

  • Nastia

    Hello Selçuk

    Hope you're doing well!

    These debug lines needs to be added in the wp-config.php file, right above /* That's all, stop editing! Happy blogging. */ line.

    Usually, when a 500 error shows up during WP Smush optimization, some images are corrupted and can't be optimized. The path to that image is shown in the error.

    If the issue still persists, please try to enable Wordpress debug ad Dimitris has described in the above reply, and grant access to your site from WPMU DEV > Support. Let us know bellow when you do.

    Have a good day and take care!

    Cheers,
    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.