<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
When I push the button "Check for Spam" i get the following error:<br>
<br>
<small><tt>Warning: Invalid argument supplied for foreach() in
/home/4197/domains/saltando.net/html/wp-content/plugins/akismet/akismet.php
on line 722<br>
<br>
Warning: Cannot modify header information - headers already sent by
(output started at
/home/4197/domains/saltando.net/html/wp-content/plugins/akismet/akismet.php:722)
in /home/4197/domains/saltando.net/html/wp-includes/pluggable.php on
line 770<br>
</tt></small><br>
I solved it adding the text "<tt>if ($moderation != null)</tt>" at the
line 722.<br>
<br>
So the result is:<br>
<tt><br>
...<br>
<small>$moderation = $wpdb->get_results( "SELECT * FROM
$wpdb->comments WHERE comment_approved = '0'", ARRAY_A );<br>
<b>if ($moderation != null)</b><br>
foreach ( $moderation as $c ) {</small><br>
...</tt><br>
<br>
I don't know how to send patches to Akismet (cvs, svn??)<br>
<br>
I use WP 2.6 and Akismet 2.1.6<br>
<br>
If anyone can add it for me I will be very happy.<br>
<br>
Thanks, <br>
Joan Fisbein<br>
</body>
</html>