PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Maximum execution time of 30 seconds exceeded in class-wp-image-editor-imagick

  1. Hi,

    Many users on my site are getting this error when trying to send form with images:

    Fatal error: Maximum execution time of 30 seconds exceeded in wp-includes/class-wp-image-editor-imagick.php on line 309

    https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-image-editor-imagick.php

    Any ideas how to fix this issue...?

    Thanks in advance!

    Posted 11 years ago on Monday January 21, 2013 | Permalink
  2. Your server has PHP configured for a 30 second max timeout on a script. If this image processing is taking longer, you will need to raise the 'max_execution_time' in php.ini or wherever your host allows.

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink