Make WordPress Core

Opened 17 years ago

Closed 16 years ago

#7411 closed defect (bug) (duplicate)

tons of hidden errors in wordpress

Reported by: thomask's profile thomask Owned by: jacobsantos's profile jacobsantos
Milestone: Priority: normal
Severity: normal Version: 2.6
Component: Optimization Keywords:
Focuses: Cc:

Description

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.

Change History (4)

#1 @santosj
17 years ago

  • Milestone changed from 2.6.1 to 2.7

There is already a ticket for this in 2.7. It seems that everything is making a ticket for this. All notices should be in the same ticket, but whatever.

#2 @santosj
17 years ago

  • Owner changed from anonymous to jacobsantos

#3 @santosj
17 years ago

Whatever, I hate that when I turn WP_DEBUG on that I have to weed through all of the notices. I'm planning on going through and fixing as many as possible. At least it should stop the flow of these types of redundant tickets.

#4 @santosj
16 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #6669, where these issues were fixed.

Note: See TracTickets for help on using tickets.