Smush hangs while working

The Smush Plug-in stops working after completing 853 of approximately 900 images.

What should I do?

Thank you.

  • Vaughan
    • Support/SLS MockingJay

    Hi John,

    Hope you’re well?

    You could perhaps try reducing the amount processed in 1 go?

    Add the following to your themes functions.php file.

    add_filter( 'wp_smush_max_rows', 'wpmudev_smush_max_rows', 999 );
    function wpmudev_smush_max_rows() {
    return 500;

    I’m currently trying to re-smush to see if it stops at the exact same place.


  • Vaughan
    • Support/SLS MockingJay

    Hi John,

    It usually stops if it has issues processing an image.

    Can you grant support access agin,soI can take another look.

    If you could also set WP_DEBUG to true in your wp-config.php

    Then add the following lines:

    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    Now try smushing again, wait for it to stop. and then check if there’s any errors listed in the debug log.

    You will find the debug.log file in /wp-content folder

    Need to try & figure out which image is causing it to stop processing.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.