Support » Plugins » [Plugin: AVH First Defense Against Spam] Fatal error messages

  • When I went to my blog today, this appeared at the top of the page:

    “Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/avh-first-defense-against-spam/avh-fdas.client.php on line 444”

    When I went to the developer’s Web site at to send a message, I got this message:
    “Fatal error: Call to undefined function exists() in /home/avirtu2/public_html/blog/wp-content/plugins
    /avh-first-defense-against-spam/inc/avh-fdas.public.php on line 255″

    Otherwise, it has been working great–really cut down on the spam comments.

Viewing 3 replies - 1 through 3 (of 3 total)
  • That’s quite ironic!! A plugin developer creates a plugin which breaks his/her own site and does nothing about it. I can only suggest that you open avh-first-defense-against-spam/avh-fdas.client.php about line 449 replace

    foreach ( $error as $key => $value ) {
    	$error_short = $key;
    	$error_long = $value[0];
    return '<strong>avhfdas error:' . $error_short . ' - ' . $error_long . '</strong>';


    if (is_array($error)){foreach ( $error as $key => $value ) {
    	$error_short = $key;
    	$error_long = $value[0];
    return '<strong>avhfdas error:' . $error_short . ' - ' . $error_long . '</strong>';}

    Obviously try to contact the plugin author to properly sort this out.

    Thank you. That fixed it. I would have contacted the developer but his site was down. Now that the plugin can be activated again, I found a link to his forum, which is working so now I can let him know.

    Thanks for the help there tomontoast.
    I apologize for the downtime on my site. I upgraded to an new RC on my blog the night before I went on vacation. BAD thing to do.

    A fix will be added in the upcoming release.
    Due out this week.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: AVH First Defense Against Spam] Fatal error messages’ is closed to new replies.