WordPress.org

Ready to get started?Download WordPress

Forums

Sideways8 Custom Login and Registration
Plugin Errors (5 posts)

  1. gravitylover
    Member
    Posted 7 months ago #

    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

    http://wordpress.org/plugins/s8-custom-login-and-registration/

  2. gravitylover
    Member
    Posted 7 months ago #

    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();

  3. gravitylover
    Member
    Posted 7 months ago #

    line 132:

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

    >

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

  4. gravitylover
    Member
    Posted 7 months ago #

    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)

  5. gravitylover
    Member
    Posted 7 months ago #

    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');
                    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.