TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in str_contains() (line 72 of modules/contrib/lb_plus/lb_plus.module).

Created on 23 June 2025, 21 days ago

Problem/Motivation

When navigating to certain Webforms a type error is thrown.

Steps to reproduce

Install the Webform module. Configure a webform to not save any data. Navigate to the webform settings page.

Proposed resolution

Type check the $message variable before trying to check the message.

πŸ› Bug report
Status

Active

Version

3.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States spfaffly

Live updates comments and jobs are added and updated live.
  • Quick fix

    Very small and simple change. Preferred over Quickfix.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024