When I created views fieldset with Wrapper type - fieldset and Format - Unformatted list I get the following error:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 2 passed to Drupal\views_fieldsets\RowFieldset::addChild() must be of the type array, string given, called in /var/www/drupal.loc/modules/contrib/views_fieldsets/src/Plugin/views/field/Fieldset.php on line 120 in Drupal\views_fieldsets\RowFieldset->addChild() (line 142 of modules/contrib/views_fieldsets/src/RowFieldset.php).

Comments

Romixua created an issue. See original summary.

romixua’s picture

Assigned: romixua » Unassigned
Status: Active » Needs review
StatusFileSize
new526 bytes

addChild 2 argument is strung, so we need to remove argument type

andralex’s picture

Status: Needs review » Reviewed & tested by the community

Reproduced the issue. Applied the patch and tested. It fixes the issue.

pifagor’s picture

  • pifagor committed e35b7e3 on 8.x-3.x authored by Romixua
    Issue #3014442 by Romixua, andralex, pifagor: TypeError: Argument 2...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

alex_optim’s picture

Patch work for me.

pifagor’s picture