• Hello,

    I get this warning message on WP Engine hosting caused by your plugin:

    Notice: Undefined index: loginTwitter in /nas/content/live/***/wp-content/plugins/nextend-twitter-connect/nextend-twitter-connect.php on line 116

    IMHO you should add condition on that line to check if ‘loginTwitter’ is set as parameter of $_REQUEST. This should solve this warning message.

    I changed new_twitter_login() function to:

    function new_twitter_login() {
    
      if ( isset( $_REQUEST['loginTwitter'] ) ) {
        if ( $_REQUEST['loginTwitter'] == '1' ) {
          new_twitter_login_action();
        }
      }
    
    }

    Please let me know if it is good solution. Thanks!

    Michal

    https://ww.wp.xz.cn/plugins/nextend-twitter-connect/

The topic ‘Prevent warning on wp-login.php’ is closed to new replies.