WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AVH First Defense Against Spam] Fatal error messages (4 posts)

  1. sleeplessinDC
    Member
    Posted 5 years ago #

    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 blog.avirtualhome.com/wordpress-plugins/ 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.

    http://wordpress.org/extend/plugins/avh-first-defense-against-spam/

  2. tomontoast
    Member
    Posted 5 years ago #

    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>';

    with

    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.

  3. sleeplessinDC
    Member
    Posted 5 years ago #

    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.

  4. petervanderdoes
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic