Time Out

Error: Smush request timed out, You can try setting a higher value for WP_SMUSH_API_TIMEOUT.

  • Nastia

    Hello thomas

    Welcome to WPMU DEV Community :smiley:

    You are having Time Out error, probably, because the images size are too big and requires more than 90 seconds to upload to our servers.

    Would you please add the followin gcode to your theme's functions.php file:

    add_filter('WP_SMUSH_API_TIMEOUT',  'wpmu_api_timeout');
    function wpmu_api_timeout() {
     return 300;
    }

    This should increase the upload execution time value to 300 sec..

    I hope this helps! In case you still have this issue, please grant support access from WPMU DEV > Support so I can have a closer look!

    Cheers,
    Nastia.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.