I was giving this module a try, but I can't get a single comment to work. After save I'm seeing the WSOD and this error:

Notice: Uninitialized string offset: 0 in antispam_comment_presave() (line 1013 of /var/www/vhosts/tlthost.net/httpdocs/sites/all/modules/antispam/antispam.module)

The block of code the error is coming from is

  if ($antispambot_rules['body'] && !empty($comment->comment_body)) {
    $query->condition('c.comment', render($comment->comment_body[$comment->language][0]['value']));
    $debug_info['Content'] = $comment->mail[$comment->language][0]['value'];
    $num_condition++;
  }

line 1013 is $query->condition('c.comment', render($comment->comment_body[$comment->language][0]['value']));

Comments

wxman’s picture

Priority: Normal » Minor

Never mind. I just tracked the error down to another module. It was just a coincidence that it started after I installed Ideal Comments. Now I'm looking forward to trying it again.

wxman’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

fixed error