Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s what I thought but I just wanted to make sure.

    I had them deactive my SSL on my website because of this error so once it’s back up I will give that a try.

    Thanks for your time and help ??

    HeY Michael I think I found the portion of the code that I have to change but I’m still new to backend stuff. I’m a frontend designer haha.

    What I found looks a little different $user_signon = wp_signon( $info, false );

    What should I change that to?

    Here is the full function

    if(!function_exists(‘search_and_go_elated_user_login’)){

    function search_and_go_elated_user_login() {

    if(empty($_POST) || !isset($_POST)) {
    eltdAjaxStatus(‘error’, esc_html__(‘All fields are empty’, ‘search-and-go’));
    } else {
    check_ajax_referer( ‘eltd-ajax-login-nonce’, ‘security’);
    $data = $_POST;

    $data_string = $data[‘post’];
    parse_str($data_string, $data_array);

    $info[‘user_login’] = $data_array[‘user_login’];
    $info[‘user_password’] = $data_array[‘user_password’];
    $redirect_uri = $data_array[‘redirect’];

    if(isset($info[‘remember’]) && $info[‘remember’] == ‘forever’) {
    $info[‘remember’] = true;
    }else {
    $info[‘remember’] = false;
    }
    $user_signon = wp_signon( $info, false );

    if ( is_wp_error($user_signon) ){
    eltdAjaxStatus(‘error’, esc_html__(‘Wrong username or password.’, ‘search-and-go’));
    } else {
    if ( $redirect_uri == ” ) {
    $redirect_uri = eltd_listing_get_dashboard_page_url();
    }
    eltdAjaxStatus(‘success’, esc_html__(‘Login successful, redirecting…’, ‘search-and-go’), $redirect_uri);
    }

    }
    wp_die();
    }
    add_action( ‘wp_ajax_nopriv_search_and_go_elated_user_login’, ‘search_and_go_elated_user_login’ );
    }

    How did you fix this issue? I’ve been having the same problem for the past few days and I can not figure out how to do it :/ Please can someone help me

    Thread Starter maxologymarketing

    (@maxologymarketing)

    Thanks for replying Robert, I would really love to use your plugin to make a feature I’m trying to add to my site be possible.

    How many hours or how much would you charge to make this feature possible?

    I would need it to only pick from parent pages then have to option select certain page ID’s to be excluded. Example: 143,123,56,34

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