Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#315 closed defect (bug) (fixed)

Adminitration Plugins panel throws lots of errors on activating/deactivating request

Reported by: maijs's profile maijs Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: major Version:
Component: Administration Keywords:
Focuses: Cc:

Description

when any of plugins was ever activated and then deactivated back, so that no active plugins remain, Administration Plugins panel throws lots of errors concerning arrays.

I assume it's because no checking is being made in scripts (./wp-settings.php, ./wp-admin/plugins.php) to check whether operations with arrays (in_array(), foreach(), $array[] =...) are really performed on arrays, and as when plugin is activated and then deactivated, 'active_plugins' option in db table becomes 'a:0:{}' which unserialized is not considered as array any more..

Change History (2)

#2 @ryan
21 years ago

  • fixed_in_version set to 1.3
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.