- ๐ฎ๐นItaly Kris77
This error, for me, appear when press enter key and not click on button.
- Status changed to Postponed: needs info
5 months ago 12:45am 11 April 2024 - ๐ฆ๐บAustralia GuillaumeG
Hi,
I can replicate this issue on a vanilla Drupal installation:
- Install Drupal 10 and enable the Better Exposed Filters module
- Create a new Drupal view listing Articles
- Add a new tags filter
- Set the Selection type to dropdown
- Check "Expose this filter to visitors" to allow them to change it
- Click "Allow multiple selections"
- Apply the changes
- In the Advanced tab under "Exposed form style", select "Better Exposed Filters"
- For the Exposed filter "field_tags_target_id" with label "Tags (field_tags)", choose "Checkboxes / Radio buttons" for the Exposed filter widget
- Save the view
- Visit the View page and append /articles-list?field_tags_target_id=All (any other values will result in the same error).
Upon accessing the website, the following error occurs:
The website encountered an unexpected error. Please try again later.
Error: Cannot create references to/from string offsets in Drupal\Component\Utility\NestedArray::setValue() (line 155 of core/lib/Drupal/Component/Utility/NestedArray.php).The following Drupal core patch fixes the issue https://www.drupal.org/project/drupal/issues/3023924#comment-14841300 ๐ Cannot create references to/from string offsets Needs work but not quite sure this is a core or a BEF issue at this stage.
- Status changed to Needs work
5 months ago 12:16pm 15 April 2024 - ๐บ๐ธUnited States smustgrave
Ideally this would be fixed in core.
Can see if we can put in another on this side to help, most likely itโll be dependent on core though.
If we determine we canโt do anything can put a note on the modules page for known issues.
- Status changed to Closed: duplicate
3 months ago 12:05am 19 June 2024 - ๐บ๐ธUnited States smustgrave
So unfortunately I don't believe there is anything we can on this side to fix the problem. Also verified that patch on core fixes the issue so left a comment to maybe help shake it loose but encourage others to get involved with it.