Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8448 closed defect (bug) (fixed)

2.7RC1 PHP errors when saving options

Reported by: jbhannah Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: Administration Keywords: array_search
Focuses: Cc:


The following errors are thrown whenever I update any settings (built-in or plugin) that go through wp-admin/options.php:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /var/www/wordpress/wp-admin/includes/plugin.php on line 1011

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-admin/includes/plugin.php:1011) in /var/www/wordpress/wp-includes/pluggable.php on line 850

Change History (4)

#1 @jbhannah
9 years ago

  • Component changed from General to Administration

To clarify, the URL that throws this is http://foo.bar/wp-admin/options.php

#2 @ryan
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10052]) Fix warning. fixes #8448

#3 @ryan
9 years ago

Try that.

#4 @jbhannah
9 years ago

Yup, that did it.

Note: See TracTickets for help on using tickets.