• Resolved tokkonopapa

    (@tokkonopapa)


    Sorry but it’s trivial issue.

    At the Password Audit page, I found the following notices when I defines WP_DEBUG to true.

    PHP Notice: Undefined index: ok in /htdocs/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 2976
    PHP Notice: Undefined index: ok in /htdocs/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 3015

    I think the following code is better:

    if(is_array($res) && !empty($res['ok'])){

    Please close this topic of your own will. Thanks for your good plugin.

    https://www.ads-software.com/plugins/wordfence/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Undefined index: ok’ is closed to new replies.