Make WordPress Core

Opened 9 years ago

Closed 4 years ago

Last modified 4 years ago

#34695 closed defect (bug) (worksforme)

class-wp-plugins-list-table.php Undefined Offset

Reported by: shellardee's profile ShellaRDee Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3.1
Component: Plugins Keywords: reporter-feedback close
Focuses: ui Cc:

Description

Undefined offset: 3 in wp-admin/includes/class-wp-plugins-list-table.php on line 598.
get_column_info does not return $primary.

I fixed this by changing
list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();

TO
list( $columns, $hidden, $sortable ) = $this->get_column_info();
$primary = 'users';

Change History (6)

#1 @boonebgorges
9 years ago

  • Keywords reporter-feedback added

Hi ShellaRDee - Thanks for the report, and welcome to Trac!

I can't reproduce this issue on the latest trunk. I suspect that you may have a plugin filtering manage_plugins_columns, and wiping out the fourth option. Are you able to test on a vanilla installation of WordPress - ie, no plugins installed? If you can't reproduce the problem on an installation with no plugins/customizations, can you start testing to see whether one of your plugins is to blame, by switching them off and retesting?

#2 @swissspidy
9 years ago

  • Component changed from General to Plugins
  • Focuses ui added
  • Keywords close added

@ShellaRDee Does this bug still occur? Please let us know how things currently look like.

#3 @ShellaRDee
9 years ago

I searched all plugins for "manage_plugins_columns" and none have that in it.
I'm in the midst of a complex programming code and will test on vanilla version shortly - perhaps after the new year?

Speaking of New Year - have a wonderful one full of peace, harmony and happiness!

#4 @swissspidy
8 years ago

@ShellaRDee I know it's been a while, but it would be great to know if this issue still occurs or not.

#5 @hellofromTonya
4 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello @ShellaRDee,

Welcome to WordPress Trac!

I'm closing this ticket as it's been 5 years since reporter feedback was requested and close added. If this is still an issue, please provide feedback.

#6 @hellofromTonya
4 years ago

  • Keywords close added
  • Resolution changed from invalid to worksforme
Note: See TracTickets for help on using tickets.