• Resolved dccharron

    (@dccharron)


    This is a very useful plugin. Sadly I just tried to use it on one of my sites and it is suffering from two problems.

    The first is that when I click on “Upload” to replace a file, instead of the process completing normally, it comes up with the error message starting with

    Maximum execution time of 30 seconds exceeded...

    The dots are just the file name on my website which ends as

    wp-includes/class-wp-image-editor-imagick.php on line 129

    This error is displayed after about 8-10 seconds, certainly much less than 30 seconds.

    This problem is the most common response but on one occasion I managed to get past it. When I looked at the file using FTP I can see that it was not changed so even when it says that it has uploaded the change, it hasn’t.

    Hope this helps you to identify the problem to be able to fix it.

    Many thanks.

    https://wordpress.org/plugins/enable-media-replace/

Viewing 1 replies (of 1 total)
  • Thread Starter dccharron

    (@dccharron)

    This problem was not related to your plugin. It was related to WordPress itself. I deactivated your plugin and deleted it and then tried to upload the images using the native WordPress media tools. I got a similar error message (just the last part changed to
    class-wp-image-editor.php on line 419
    I repeatedly tried to get a number of images uploaded using WP Media Add New and they repeatedly failed with “Maximum execution time of 30 seconds exceeded” error.

    I edited my wp-config.php file and added the line:

    set_time_limit(60);

    I added this just below the line:

    define('DB_COLLATE', '');

    Presto, it fixed the problem and I was able to upload a large number of images of varying sizes without error. I suspect (though haven’t tested it yet) that your plugin was not at fault and I will re-install and use it in future. Thank you.

    I will change the status on this post to “resolved”.

Viewing 1 replies (of 1 total)
  • The topic ‘Maximum execution time of 30 seconds exceeded’ is closed to new replies.