[wp-trac] [WordPress Trac] #8503: Notice : undefined array in wp-includes/comment.php

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 6 09:07:19 GMT 2008


#8503: Notice : undefined array in wp-includes/comment.php
---------------------+------------------------------------------------------
 Reporter:  mrmist   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.7      
 Severity:  minor    |    Keywords:  notice   
---------------------+------------------------------------------------------
 Not sure what the position is on these, but with debug on every admin page
 is giving me -

 Notice: Undefined index: Array in /home/www/misthaveneu/htdocs/svn/trunk
 /wp-includes/comment.php on line 698

 Which seems to relate to


 {{{
 foreach( (array) $count as $row_num => $row ) {
            $total += $row['num_comments'];
            $stats[$approved[$row['comment_approved']]] =
 $row['num_comments'];
    }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8503>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list