• The plugin should pass with: define(‘WP_DEBUG’, true);

    Settings page:
    Notice: Undefined index: use_wp_register in /home/campers/public_html/wp-content/plugins/s8-custom-login-and-registration/admin/settings.php on line 19

    Notice: Undefined index: delete_login_redirect in /home/campers/public_html/wp-content/plugins/s8-custom-login-and-registration/admin/settings.php on line 28

    Front end login:
    Notice: Undefined index: redirect in /home/campers/public_html/wp-content/plugins/s8-custom-login-and-registration/inc/forms.php on line 152

    https://www.ads-software.com/plugins/s8-custom-login-and-registration/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gravitylover

    (@gravitylover)

    fix login:
    /s8-custom-login-and-registration/inc/forms.php

    line 152

    $redirect_url = ( $_GET['redirect'] != '' ) ? $_GET['redirect'] : s8_get_current_url();

    >

    $redirect_url = ( isset($_GET['redirect']) ) ? $_GET['redirect'] : s8_get_current_url();

    Thread Starter gravitylover

    (@gravitylover)

    line 132:

    <?php echo $_POST['user_login']; ?>

    >

    <?php if(isset($_POST['user_login'])){echo $_POST['user_login'];} ?>

    Thread Starter gravitylover

    (@gravitylover)

    Notice: Undefined index: action in /home/campers/public_html/wp-content/plugins/s8-custom-login-and-registration/s8-login-registration.php on line 75

    Notice: Undefined index: action in /home/campers/public_html/wp-content/plugins/s8-custom-login-and-registration/s8-login-registration.php on line 93

    line 75
    if(isset($wp_query->query_vars[self::ep_login]) && $_GET['action'] == 'logout') {

    >

    if(isset($wp_query->query_vars[self::ep_login]) && isset($_GET['action']) && $_GET['action'] == 'logout') {

    line 93

    if(isset($_GET['action'])){

    >

    if(isset($_GET['action'])){
    switch($_GET['action']) {

    line 135

    add: } (to close the if statement)

    Thread Starter gravitylover

    (@gravitylover)

    Correction on last post, line 135:

    } else {
                        // Check if we are processing (and process if needed)
                        if ( isset( $_POST['s8-login'] ) ) {
                            $s8_login_errors = $this->login_user();
                        }
                        // Do our stuff
                        $this->title = __('Login');
                        $this->content = '[s8-login-form s8_internal="true"]';
                            //$this->display_template('login');
                    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin Errors’ is closed to new replies.