[wp-trac] [WordPress Trac] #5110: on_category function in category-template.php outputs warning with different themes

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 30 03:28:52 GMT 2007


#5110: on_category function in category-template.php outputs warning with
different themes
----------------------+-----------------------------------------------------
 Reporter:  tomsing1  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.3.1    
Component:  Template  |     Version:  2.3      
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 Using Wordpress 2.3 and themes "Fallseason 1.1" and "TerraFirma 3.4", I
 noticed the following warning displayed at the top of the page:

 Warning: array_key_exists() [function.array-key-exists]: The first
 argument should be either a string or an integer in /wordpress/wp-includes
 /category-template.php on line 176

 This problem was reported by others using different themes, too:
 http://wordpress.org/support/topic/135658
 http://wordpress.org/support/topic/132280

 and it was suggested that this might be a bug in the "on_category"
 function itself, as it is not confined to any single theme.

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


More information about the wp-trac mailing list