Viewing 1 replies (of 1 total)
  • Thread Starter Ciprian Tepes

    (@cippoo)

    That error was caused by the timeout. I am not sure if the function below would work:

    function wpdocs_extend_http_response_timeout( $timeout ) {
    	return 30; // seconds default wordpress is 5
    }
    add_filter( 'http_response_timeout', 'wpdocs_http_response_timeout' );

    I’ve modified the copy.php file and increased the timeout to 30 instead of 5.

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot use object of type WP_Error’ is closed to new replies.