[wp-trac] Re: [WordPress Trac] #6665: Evaling the $query in Class WP throws a notice

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 10 18:05:41 GMT 2008


#6665: Evaling the $query in Class WP throws a notice
-------------------------------------------------+--------------------------
 Reporter:  simonwheatley                        |        Owner:  anonymous
     Type:  defect                               |       Status:  new      
 Priority:  normal                               |    Milestone:  2.5.1    
Component:  General                              |      Version:           
 Severity:  normal                               |   Resolution:           
 Keywords:  has-patch needs-testing 2nd-opinion  |  
-------------------------------------------------+--------------------------
Comment (by simonwheatley):

 Forgot to add steps to reproduce:

 1. Define the constant "WP_DEBUG" in your wp_config.php

 2. Access a page in your Wordpress installation

 3. (Open the PHP error log if you're not tailing it)

 4. See the Notice, similar to:

 Notice:Undefined offset:  2 in /Users/simon/Projects/WordPress-2.5/site
 /wp-includes/classes.php(111) : eval()'d code:1

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6665#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list