Problem/Motivation

  1. Warning: Undefined array key "attributes" in Drupal\views_attributes\Plugin\views\display_extender\AttributesDisplayExtender->buildOptionsForm() (line 64 of /var/www/html/web/modules/contrib/views_attributes/src/Plugin/views/display_extender/AttributesDisplayExtender.php)
  2. TypeError: uasort(): Argument #1 ($array) must be of type array, null given in uasort() (line 66 of /var/www/html/web/modules/contrib/views_attributes/src/Plugin/views/display_extender/AttributesDisplayExtender.php).

The configuration form modal doesn't show up, ie. module is unusable.

Steps to reproduce

  1. Clean install of D10 with ddev quickstart (Drupal 10.0.9 & PHP 8.1.13)
  2. ddev composer require drupal/views_attributes
  3. ddev drush en views_attributes
  4. Go to any existing view or create a new one
  5. click on Advanced > Attributes
  6. nothing shows up, 2 php errors fire.
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kopeboy created an issue. See original summary.

omkar_yewale’s picture

Assigned: Unassigned » omkar_yewale
Status: Active » Needs work

omkar_yewale’s picture

Assigned: omkar_yewale » Unassigned
Status: Needs work » Needs review

MR Created, Please review.

robphillips made their first commit to this issue’s fork.

bobooon’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.