WordPress.org

Support

Support » Plugins and Hacks » WP Smush Image Optimizer » [Resolved] Bulk Smush.it – script timeout

[Resolved] Bulk Smush.it – script timeout

  • Hello,

    I have more than 25000 files in my library. Over admin, Library menu > Smush.It, I pressed “Run all my images through WP Smush.it right now” and some minutes after that I’ve got:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/phormar/public_html/wp-includes/link-template.php on line 2332

    What can I do?

    Thanks

    https://wordpress.org/plugins/wp-smushit/

Viewing 2 replies - 1 through 2 (of 2 total)
  • David

    @ugotsta

    WPMU DEV Support Staff

    Hi @tiagogouvea,

    I hope you’re doing great today! 25,000 is quite a lot of images to smush and I think you may need to increase the timeout for that to work.

    Could you try adding the following in your wp-config.php file?

    set_time_limit(0);

    You could add that after the following:

    define('WP_DEBUG', false);

    And you hopefully that will allow more time to handle it. Could you let me know how that works for you?

    Thanks,
    David

    Hey there.

    We haven’t heard from you in awhile, so I just wanted to check in to make sure all was good.

    This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. 🙂

    Hope you have a fantastic day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Bulk Smush.it – script timeout’ is closed to new replies.
Skip to toolbar