WordPress – Maximum Execution time Error

     

If you ever encounter the following error:

Maximum execution time of 29 seconds exceeded in /wp-includes/class-wp-image-editor-imagick.php on line 363

 Simply add the following code to your functions.php .

If you dont know how to do that click here: https://hendrikthurau.enterprises/wordpress-add-code-to-your-theme-template/

<?php

add_filter( 'wp_image_editors', 'change_graphic_lib' );
function change_graphic_lib($array) {
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
}

Leave a Comment