WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 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:

Description

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)

comment:1 jbhannah5 years ago

  • Component changed from General to Administration

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

comment:2 ryan5 years ago

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

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

comment:3 ryan5 years ago

Try that.

comment:4 jbhannah5 years ago

Yup, that did it.

Note: See TracTickets for help on using tickets.