WP Smush - Image Optimization
[resolved] Bulk Smush.it - script timeout (3 posts)

  1. TiagoGouvea
    Posted 2 years ago #


    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?



  2. David
    WPMU DEV Support Staff
    Posted 2 years ago #

    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?


    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?


  3. WPMU DEV - Your WordPress Team
    WPMU DEV Support Staff
    Plugin Author

    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Smush - Image Optimization
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic