Got a bunch of PHP notices

There are a lot of "Undefined index" notices.

[19-Aug-2015 08:23:25] PHP Notice: Undefined index: foursquare in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: github in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: instagram in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: linkedin in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: mailru in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: odnoklassniki in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: openid in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: paypal in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: reddit in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: skyrock in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: stackexchange in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: steam in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: twitch in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: vimeo in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: windowslive in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: wordpress in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: yahoo in \wp-content\plugins\oa-social-login\includes\admin.php on line 831
[19-Aug-2015 08:23:25] PHP Notice: Undefined index: youtube in \wp-content\plugins\oa-social-login\includes\admin.php on line 831

Best Answer

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    edited August 2015 Answer ✓
    Hello,

    thank you for the screenshot. I have now been able to reproduce the error.
    It only occurs when you have enabled WP_DEBUG.

    I have already added a bugfix to the official plugin.
    Could you please remove the plugin from your WordPress and re-install it.

    Then the error should be gone.

    Regards,

Answers

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    Hello,

    could you please try to save your settings once.
    Do you still get the error afterwards?

    Regards,
  • Nope, the same thing. image
  • Great! It's really fast!

    I found one more notice, if you're interested:
    [20-Aug-2015 17:01:49] PHP Notice: Undefined variable: css_theme_uri in E:\OpenServer\domains\vpv.kr.ua\wp-content\plugins\oa-social-login\includes\user_interface.php on line 310

    It happens if I use such method in my custom theme:
    add_filter( 'login_form_middle', 'pg_login_form_middle' );
    
    function pg_login_form_middle() {
    	if (function_exists('oa_social_login_render_login_form'))
    		return oa_social_login_render_login_form ('shortcode');
    }

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.