PHP Notice: Undefined index: ok
-
Sorry but it’s trivial issue.
At the Password Audit page, I found the following notices when I defines
WP_DEBUG
totrue
.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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Notice: Undefined index: ok’ is closed to new replies.