Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
wxman CreditAttribution: wxman commentedNever 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.
Comment #2
wxman CreditAttribution: wxman commentedComment #3.0
(not verified) CreditAttribution: commentedfixed error