• Resolved mdnotion

    (@mdnotion)


    Hello, when I activate the plugin, I get the following error messages on the top of my plugins page:

    Notice: Undefined index: option in /Users/jameskeary/Documents/Crowdskout/Modern_Notion/modern-notion/wp-content/plugins/facebook-login-afo/login_afo_widget.php on line 120

    Notice: Undefined index: option in /Users/jameskeary/Documents/Crowdskout/Modern_Notion/modern-notion/wp-content/plugins/facebook-login-afo/login_afo_widget.php on line 144

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /Users/jameskeary/Documents/Crowdskout/Modern_Notion/modern-notion/wp-includes/functions.php on line 3193

    Notice: Undefined index: option in /Users/jameskeary/Documents/Crowdskout/Modern_Notion/modern-notion/wp-content/plugins/facebook-login-afo/login.php on line 147

    Also, in the settings page of the plugin, I have those same error messages. But when I entered my App ID and Secret they go away and a new notice appears:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /Users/jameskeary/Documents/Crowdskout/Modern_Notion/modern-notion/wp-includes/functions.php on line 3193

    I do not want to set my WP_DEBUG to false for many reasons. Is there a way around these notices? Unfortunately they also pop up on the site! Thank you in advance.

    https://wordpress.org/plugins/facebook-login-afo/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mdnotion

    (@mdnotion)

    Also, I am working with wordpress version 3.9.1

    Thread Starter mdnotion

    (@mdnotion)

    Ok, so what I ended up just doing was this in my wp-config file:

    // Enable Debug logging to the /wp-content/debug.log file
    define(‘WP_DEBUG_LOG’, true);

    // Disable display of errors and warnings
    define(‘WP_DEBUG_DISPLAY’, false);

    So, maybe these notices will be helpful to the plugin developers down the road. But, if anyone has this problem, this is how I fixed it.

    Plugin Author aviplugins.com

    (@avimegladon)

    Sorry for the late reply. Its great that you got the solution by yourself.

    otherwise in your wp-config.php file change

    define(‘WP_DEBUG’, true);
    to
    define(‘WP_DEBUG’, false);

    and that will also solve your problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice Messages on Activation’ is closed to new replies.