Deprecated function: str_contains()

Created on 7 February 2023, almost 2 years ago
Updated 9 February 2023, almost 2 years ago

Problem/Motivation

I am facing this error after installing the module using composer and enabling it in all pages.

Deprecated function: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\elogger\Services\Elogger->logEvent() (line 542 of modules/contrib/elogger/src/Services/Elogger.php).

here is some info for my site :
Drupal version : 9.5.3
PHP version : 8.1.1

Steps to reproduce

  1. Install module.
  2. The error log is shown on all pages.
๐Ÿ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

๐Ÿ‡ธ๐Ÿ‡ฆSaudi Arabia bamlhes

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

Comments & Activities

Production build 0.71.5 2024