Argument 2 passed to _readonlymode_form_list_check() must be of the type array, string given

Created on 17 April 2023, about 1 year ago
Updated 21 April 2023, about 1 year ago

Problem/Motivation

The module is throwing the following error:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 2 passed to _readonlymode_form_list_check() must be of the type array, string given, called in /docroot/modules/contrib/readonlymode/readonlymode.module on line 229 in _readonlymode_form_list_check() (line 250 of modules/contrib/readonlymode/readonlymode.module).

Steps to reproduce

Proposed resolution

See the following patch.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada optasy

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

Comments & Activities

Production build 0.69.0 2024