WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. TiagoGouvea
    Member
    Posted 6 months ago #

    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/

  2. David
    WPMU DEV Support Staff
    Posted 6 months 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?

    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

  3. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 5 months 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!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags