Ticket #7411 (closed defect (bug): duplicate)

Opened 6 months ago

Last modified 5 months ago

tons of hidden errors in wordpress

Reported by: thomask Assigned to: jacobsantos
Priority: normal Milestone:
Component: Optimization Version: 2.6
Severity: normal Keywords:
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

07/31/08 15:54:49 changed by santosj

  • 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.

07/31/08 15:55:48 changed by santosj

  • owner changed from anonymous to jacobsantos.

07/31/08 15:56:44 changed by santosj

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.

08/13/08 17:17:27 changed by santosj

  • status changed from new to closed.
  • resolution set to duplicate.
  • milestone deleted.

Duplicate of #6669, where these issues were fixed.