• Resolved daver

    (@flyonthenetcom)


    When uploading images, progress stuck at end

    After some debugging, we found this error:

    /wp-admin/async-upload.php
    <b>Fatal error</b>: Maximum execution time of 120 seconds exceeded in <b>wp-content\plugins\webp-converter-for-media\app\Convert\Directory.php</b> on line <b>30</b><br />

    We use plugin version 2.0.1
    Deactivating plugin the uploads will complete.

    Thanks
    D.

    Edit: previous versions works like a charm
    We are under Windows IIS hosting

    • This topic was modified 11 months, 3 weeks ago by daver.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @flyonthenetcom,

    Thank you for your message.

    Please read this thread:
    https://wordpress.org/support/topic/welcome-to-support-forum-please-read-before-posting-5/

    Please provide me with the information required by creating a thread on the support forum and I will try to help you. Mainly I mean the server configuration provided by the plugin.

    Thread Starter daver

    (@flyonthenetcom)

    Hi all,

    finally solved adding this code to my function.php theme file:

    function theme_webpc_dir_path( $path, $context ) {
    	switch( $context ) {
    		case 'uploads' : 
    			$path = str_replace( '//', '/', ABSPATH . $path );
    		break;
    		case 'webp' :
    			$path = str_replace( '//', '/', ABSPATH . $path );
    		break;
    	}
    	return $path;
    }
    add_filter( 'webpc_dir_path', 'theme_webpc_dir_path', 10, 2 );

    I had to add this code to every Windows IIS hosting which is using the plugin.
    All my WP are under Aruba.it hosting

    Hope it helps to anyone faces same problem.
    D.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @flyonthenetcom Thank you very much for the information, I’m glad everything works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajax Uploads Timeout’ is closed to new replies.