TypeError: reset(): Argument #1 ($array) must be of type array

Created on 15 September 2023, about 1 year ago
Updated 8 March 2024, 7 months ago

Problem/Motivation

We are seeing an error after upgrading to Drupal 10.1.3. Specifically this error:

TypeError: reset(): Argument #1 ($array) must be of type array, string given in reset() (line 247 of /code/web/modules/contrib/views_json_source/src/Plugin/views/filter/ViewsJsonFilter.php).

Steps to reproduce

We had the module installed and performed the upgrade to Drupal. Our view is now throwing this error.

Proposed resolution

I'm going to attempt a patch to fix.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Module

Created by

🇺🇸United States wheelercreek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024