[wp-trac] [WordPress Trac] #7411: tons of hidden errors in wordpress

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 25 20:39:06 GMT 2008


#7411: tons of hidden errors in wordpress
--------------------------+-------------------------------------------------
 Reporter:  thomask       |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:  2.6.1    
Component:  Optimization  |     Version:  2.6      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 I have tried to put
 error_reporting(E_ALL);
 ini_set('display_errors', TRUE);
 ini_set('display_startup_errors', TRUE);
 in my wp-config.php file and I see on every page / post / admin page
 hundrets and hundrets of Notices and Errors like:


 Notice: Undefined index: cat in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 includes/query.php on line 525

 Notice: Undefined index: path in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 includes/canonical.php on line 179

 Notice: Undefined index: port in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 includes/canonical.php on line 186

 Notice: Undefined property: stdClass::$response in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 admin/menu.php on line 30

 Notice: Undefined offset: 1 in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 admin/includes/plugin.php on line 16

 Notice: Undefined index: default in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 admin/includes/template.php on line 1213

 Notice: Undefined index: low in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-
 admin/includes/template.php on line 1213


 Notice: Undefined variable: wp_default_editor in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-includes
 /general-template.php on line 971


 Notice: Undefined variable: post_ID in
 /var/www/vhosts/developstudio.com/subdomains/reality/httpdocs/wp-admin
 /edit-form-advanced.php on line 165

 (random from just two pages)

 I test it on completely new last WP instalation, on last stable Mysql and
 last stable PHP.

 Is this normal, is this realy necessary? I know it would be hard to go it
 through but i guess many problems can appear just because of such
 unmonitored notices, and bigger problem is that all the time we have to
 turn them off, so we do not see other maybe more problematic problems.

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


More information about the wp-trac mailing list