Title: Maximum execution exceeded
Last modified: November 7, 2022

---

# Maximum execution exceeded

 *  [Praveen Kumar](https://wordpress.org/support/users/spk100/)
 * (@spk100)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/)
 * WordPress version 6.1
    Current plugin: Auto Smart Thumbnails (version 1.1.4) 
   PHP version 7.4.32
 * I run an image gallery website using FooGallery.
 * Whenever I load the admin gallery pages, I keep encountering this error.
 * This started happening after updating to WP 6.1
 * An error of type E_ERROR was caused in line 296 of the file /xxx/wp-content/plugins/
   auto-smart-thumbnails/inc/class-ast-face-detector.php. Error message: Maximum
   execution time of 60 seconds exceeded

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [qiuliu](https://wordpress.org/support/users/qiuliu/)
 * (@qiuliu)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16171249)
 * Praveen, can you try to increase ‘max_execution_time’ in php.ini? e.g. set it
   to 120.
 * Please refer to this answer:
    [https://stackoverflow.com/questions/1420249/maximum-execution-time-of-60-seconds-exceeded-error](https://stackoverflow.com/questions/1420249/maximum-execution-time-of-60-seconds-exceeded-error)
 *  Thread Starter [Praveen Kumar](https://wordpress.org/support/users/spk100/)
 * (@spk100)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16171287)
 * [@qiuliu](https://wordpress.org/support/users/qiuliu/)
 * Increased it to 120 and it works now.
 * But for the record, before WordPress 6.1, it was at only 30 and I did not face
   any issues.
 * After upgrading to 6.1, I increased it to 60 and now 120.
 *  Thread Starter [Praveen Kumar](https://wordpress.org/support/users/spk100/)
 * (@spk100)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16199299)
 * The issue is back. This time whenever I try to upload images, the plugin uses
   up the server resources and breaks.
 * Disabling the plugin works fine. But once I enable it back and try doing the 
   same, the server usage goes up.
 *  [qiuliu](https://wordpress.org/support/users/qiuliu/)
 * (@qiuliu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16200607)
 * If you want to dig into the problem, please follow the question “I run into problems.
   What can I do?” in the FAQ session, turn on debug and log the debug info. Also
   how many pictures do you have, what theme are you using and how many custom thumbnails
   does your theme create.
 *  Thread Starter [Praveen Kumar](https://wordpress.org/support/users/spk100/)
 * (@spk100)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16202689)
 * Hi,
    I use Soledad theme. I use Foogallery pro as part of my site and I have 
   more than 200,000 images.
 *  [qiuliu](https://wordpress.org/support/users/qiuliu/)
 * (@qiuliu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16205848)
 * That doesn’t help much.
 * Also I guess it may have upset you that things broke. But then it’s not the author’s
   fault. You can simply stop using it and uninstall it. After all you said “Disabling
   the plugin works fine.”
 * With that said, I might try to look into it during the X’mas break. It helps 
   if you can get the debug info.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Maximum execution exceeded’ is closed to new replies.

 * ![](https://ps.w.org/auto-smart-thumbnails/assets/icon-256x256.jpg?rev=2219864)
 * [Auto Smart Thumbnails](https://wordpress.org/plugins/auto-smart-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-smart-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-smart-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-smart-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-smart-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-smart-thumbnails/reviews/)

## Tags

 * [max_execution_time](https://wordpress.org/support/topic-tag/max_execution_time/)

 * 6 replies
 * 2 participants
 * Last reply from: [qiuliu](https://wordpress.org/support/users/qiuliu/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/maximum-execution-exceeded/#post-16205848)
 * Status: not resolved