Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8448 closed defect (bug) (fixed)

2.7RC1 PHP errors when saving options

Reported by: jbhannah Owned by: anonymous
Priority: normal Milestone: 2.7
Component: Administration Version: 2.7
Severity: normal Keywords: array_search
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)

  • Component changed from General to Administration

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

comment:2   ryan4 years ago

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

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

comment:3   ryan4 years ago

Try that.

Yup, that did it.

Note: See TracTickets for help on using tickets.