Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Agree publish a new version please

    Hi guys !
    Same issue here. I have spend 3 hours finding a fix this Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)
    and I found out it was related to this plugin.

    Is that related to the use of session_start which is “deprecated” since version 4.9

    For those that might’ve found this thread by luck, I first came upon the problem (and now its solution!) of not being able to use WordPress’s built in theme editor to update php files as previously able prior to version 4.9
    
    TL;DR Sessions hanging. Urge developers to remove use of sessions. In the meantime replace session_start(); with session_start(['read_and_close' => true,]);

    More details here : https://www.ads-software.com/support/topic/the-loopback-request-to-your-site-failed-4/page/2/

    Thanks

    Thread Starter yodjii

    (@yodjii)

    yes problem solved by commenting/removing this code section. thanks

    Thread Starter yodjii

    (@yodjii)

    Great I got the reason behind this.

    I earlier apply this patch to fix a bug and that prevent relevansii to be trigerred in the main search

    // https://wordpress.stackexchange.com/questions/223216/have-posts-return-false-but-count-says-3

    add_filter(‘pre_get_posts’, ‘add_custom_post_type_to_query’);
    function add_custom_post_type_to_query($query) {
    // We do not want unintended consequences.
    if ( is_admin() || ! $query->is_main_query() ) {
    return;
    }

    // Check if custom taxonomy is being viewed
    if( /*is_tax() &&*/ empty( $query->query_vars[‘suppress_filters’] ) )
    {
    $query->set( ‘suppress_filters’, true );
    }
    }

    Thread Starter yodjii

    (@yodjii)

    Ok so raw php array came from adding those
    add_filter( ‘relevanssi_results’, ‘rlv_check_results’ );
    function rlv_check_results( $results ) {
    var_dump( $results );
    exit();
    }

    I removed thoses lines

    So now I got correct results in Dashboard > Admin search !!
    I still don’t have correct result in the front-end.

    I desactivated all plugins except relevanssi and still have the issue ??

    Thread Starter yodjii

    (@yodjii)

    No error in console.
    Is it normal to get a raw php array as response from the ajax query ?

    [URL-website]wp-admin/admin-ajax.php?_fs_blog_admin=true
    Post Data sent :
    action: relevanssi_admin_search
    args:
    posts_per_page: 0
    post_types: any
    s: coiffeur
    security: 49386044f5

    Thanks

    Thread Starter yodjii

    (@yodjii)

    It gets stucks in “Searching…”

    Response from ajax query :
    array(53) {
    [“post_types”]=>
    string(3) “any”
    [“s”]=>
    string(5) “cours”
    [“error”]=>
    string(0) “”
    [“m”]=>
    string(0) “”
    [“p”]=>
    int(0)
    [“post_parent”]=>
    string(0) “”
    [“subpost”]=>
    string(0) “”
    [“subpost_id”]=>
    string(0) “”
    [“attachment”]=>
    string(0) “”
    [“attachment_id”]=>
    int(0)
    [“name”]=>
    string(0) “”
    [“pagename”]=>
    string(0) “”
    [“page_id”]=>
    int(0)
    [“second”]=>
    string(0) “”
    [“minute”]=>
    string(0) “”
    [“hour”]=>
    string(0) “”
    [“day”]=>
    int(0)
    [“monthnum”]=>
    int(0)
    [“year”]=>
    int(0)
    [“w”]=>
    int(0)
    [“category_name”]=>
    string(0) “”
    [“tag”]=>
    string(0) “”
    [“cat”]=>
    string(0) “”
    [“tag_id”]=>
    string(0) “”
    [“author”]=>
    string(0) “”
    [“author_name”]=>
    string(0) “”
    [“feed”]=>
    string(0) “”
    [“tb”]=>
    string(0) “”
    [“paged”]=>
    int(0)
    [“meta_key”]=>
    string(0) “”
    [“meta_value”]=>
    string(0) “”
    [“preview”]=>
    string(0) “”
    [“sentence”]=>
    string(0) “”
    [“title”]=>
    string(0) “”
    [“fields”]=>
    string(0) “”
    [“menu_order”]=>
    string(0) “”
    [“embed”]=>
    string(0) “”
    [“category__in”]=>
    array(0) {
    }
    [“category__not_in”]=>
    array(0) {
    }
    [“category__and”]=>
    array(0) {
    }
    [“post__in”]=>
    array(0) {
    }
    [“post__not_in”]=>
    array(0) {
    }
    [“post_name__in”]=>
    array(0) {
    }
    [“tag__in”]=>
    array(0) {
    }
    [“tag__not_in”]=>
    array(0) {
    }
    [“tag__and”]=>
    array(0) {
    }
    [“tag_slug__in”]=>
    array(0) {
    }
    [“tag_slug__and”]=>
    array(0) {
    }
    [“post_parent__in”]=>
    array(0) {
    }
    [“post_parent__not_in”]=>
    array(0) {
    }
    [“author__in”]=>
    array(0) {
    }
    [“author__not_in”]=>
    array(0) {
    }
    [“relevanssi_admin_search”]=>
    bool(true)
    }

    Thread Starter yodjii

    (@yodjii)

    Thanks, for anyone getting the same issue try divide your backup in two parts. It did work for me.

    Thread Starter yodjii

    (@yodjii)

    Thanks.
    Actually the transfer doesn’t even begin with big backups

    Thread Starter yodjii

    (@yodjii)

    Well I had to create 2 distincts backups:
    – one for all except 2015 2016 2017 upload folder (every day)
    – one for 2015 2016 2017 upload folder (once a month)

    This way the size of backups are below 2GB and it does work for me.

Viewing 10 replies - 1 through 10 (of 10 total)